Mark imported script addresses for their account.
Spotted by @tuxcanfly.
This commit is contained in:
parent
9f4bfeb056
commit
5a3be85bf4
1 changed files with 3 additions and 0 deletions
|
@ -1140,6 +1140,9 @@ func AddMultiSigAddress(icmd btcjson.Cmd) (interface{}, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// Associate the import address with this account.
|
||||
AcctMgr.MarkAddressForAccount(address, acct)
|
||||
|
||||
return address.EncodeAddress(), nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue