File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1192,10 +1192,6 @@ UniValue addmultisigaddress(const JSONRPCRequest& request)
1192
1192
" \" address\" :\" multisigaddress\" , (string) The value of the new multisig address.\n "
1193
1193
" \" redeemScript\" :\" script\" (string) The string value of the hex-encoded redemption script.\n "
1194
1194
" }\n "
1195
- " \n Result (DEPRECATED. To see this result in v0.16 instead, please start bitcoind with -deprecatedrpc=addmultisigaddress).\n "
1196
- " clients should transition to the new output api before upgrading to v0.17.\n "
1197
- " \" address\" (string) A bitcoin address associated with the keys.\n "
1198
-
1199
1195
" \n Examples:\n "
1200
1196
" \n Add a multisig address from 2 addresses\n "
1201
1197
+ HelpExampleCli (" addmultisigaddress" , " 2 \" [\\\" 16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\\\" ,\\\" 171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\\\" ]\" " ) +
@@ -1238,11 +1234,6 @@ UniValue addmultisigaddress(const JSONRPCRequest& request)
1238
1234
CTxDestination dest = pwallet->AddAndGetDestinationForScript (inner, output_type);
1239
1235
pwallet->SetAddressBook (dest, strAccount, " send" );
1240
1236
1241
- // Return old style interface
1242
- if (IsDeprecatedRPCEnabled (" addmultisigaddress" )) {
1243
- return EncodeDestination (dest);
1244
- }
1245
-
1246
1237
UniValue result (UniValue::VOBJ);
1247
1238
result.pushKV (" address" , EncodeDestination (dest));
1248
1239
result.pushKV (" redeemScript" , HexStr (inner.begin (), inner.end ()));
You can’t perform that action at this time.
0 commit comments