mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge ElementsProject/elements#1160: Fix createblindedaddress help message
fb5132b7bbFix createblindedaddress help message (Andrea Bonel) Pull request description: ACKs for top commit: delta1: ACKfb5132bstevenroose: utACKfb5132b7bbTree-SHA512: dd60dac485815b8e02a6dd239862fdc079ad53a7079b75ded3fbd1552a88514b0e5168749d2ad186b589ebbe9d73a1d490f263978bbc67b516ec461e191ef139
This commit is contained in:
commit
da236e8ad9
1 changed files with 2 additions and 2 deletions
|
|
@ -991,13 +991,13 @@ static RPCHelpMan createblindedaddress()
|
|||
"\nCreates a blinded address using the provided blinding key.\n",
|
||||
{
|
||||
{"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The unblinded address to be blinded."},
|
||||
{"blinding_key", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The blinding public key. This can be obtained for a given address using `validateaddress`."},
|
||||
{"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)."},
|
||||
},
|
||||
RPCResult{
|
||||
RPCResult::Type::STR, "blinded_address", "The blinded address"
|
||||
},
|
||||
RPCExamples{
|
||||
"\nCreate a multisig address from 2 addresses\n"
|
||||
"\nCreate a blinded address\n"
|
||||
+ HelpExampleCli("createblindedaddress", "HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16 ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d") +
|
||||
"\nAs a json rpc call\n"
|
||||
+ HelpExampleRpc("createblindedaddress", "HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16, ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue