Skip to content

Commit fb5132b

Browse files
committed
Fix createblindedaddress help message
1 parent 03b6469 commit fb5132b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/misc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,13 +991,13 @@ static RPCHelpMan createblindedaddress()
991991
"\nCreates a blinded address using the provided blinding key.\n",
992992
{
993993
{"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The unblinded address to be blinded."},
994-
{"blinding_key", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The blinding public key. This can be obtained for a given address using `validateaddress`."},
994+
{"blinding_key", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The blinding public key. This can be obtained for a given address using `getaddressinfo` (`confidential_key` field)."},
995995
},
996996
RPCResult{
997997
RPCResult::Type::STR, "blinded_address", "The blinded address"
998998
},
999999
RPCExamples{
1000-
"\nCreate a multisig address from 2 addresses\n"
1000+
"\nCreate a blinded address\n"
10011001
+ HelpExampleCli("createblindedaddress", "HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16 ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d") +
10021002
"\nAs a json rpc call\n"
10031003
+ HelpExampleRpc("createblindedaddress", "HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16, ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d")

0 commit comments

Comments
 (0)