From 5a3be85bf43ed646a8e0b6e2a22b948c5cd0e8d6 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Mon, 7 Jul 2014 10:38:14 -0500 Subject: [PATCH] Mark imported script addresses for their account. Spotted by @tuxcanfly. --- rpcserver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcserver.go b/rpcserver.go index e8b1e39..947cb59 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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 }