Skip to content

Commit b3ecb7b

Browse files
committed
Merge #10677: RPC Docs: addmultisigaddress is intended for non-watchonly addresses
73041c3 RPC Docs: addmultisigaddress is intended for non-watchonly addresses (Gregory Sanders) Pull request description: Spent a couple hours debugging why my p2sh watchonly funds were not appearing in various accounting calls when address was imported via `addmultisigaddress`. Tree-SHA512: 0673e276e5ca8cdc4c9357bd835a29bd5a994520a78179600944932c700917142930288bf179f5e89b0874beaf1a88bd70129f3a297a46df42a10bab847017bb
2 parents fd4ca17 + 73041c3 commit b3ecb7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,8 @@ UniValue addmultisigaddress(const JSONRPCRequest& request)
11551155
std::string msg = "addmultisigaddress nrequired [\"key\",...] ( \"account\" )\n"
11561156
"\nAdd a nrequired-to-sign multisignature address to the wallet. Requires a new wallet backup.\n"
11571157
"Each key is a Bitcoin address or hex-encoded public key.\n"
1158+
"This functionality is only intended for use with non-watchonly addresses.\n"
1159+
"See `importaddress` for watchonly p2sh address support.\n"
11581160
"If 'account' is specified (DEPRECATED), assign address to that account.\n"
11591161

11601162
"\nArguments:\n"

0 commit comments

Comments
 (0)