Skip to content

Commit

Permalink
Fix transferdomain rpc example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixa84 committed Jun 9, 2023
1 parent 02ffb5d commit ca5599a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masternodes/rpc_accounts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2004,8 +2004,8 @@ UniValue transferdomain(const JSONRPCRequest& request) {
"\"hash\" (string) The hex-encoded hash of broadcasted transaction\n"
},
RPCExamples{
HelpExampleCli("transferdomain", R"('[{"src":{"address":<DFI_address>, "amount\":"1.0@DFI", "domain": 1}, {"dst":{"address":<ETH_address>, "amount":"1.0@DFI", "domain": 2}}]')") +
HelpExampleCli("transferdomain", R"('[{"src":{"address":<ETH_address>, "amount\":"1.0@DFI", "domain": 2}, {"dst":{"address":<DFI_address>, "amount":"1.0@DFI", "domain": 1}}]')")
HelpExampleCli("transferdomain", R"('[{"src":{"address":"<DFI_address>", "amount":"1.0@DFI", "domain": 1}, "dst":{"address":"<ETH_address>", "amount":"1.0@DFI", "domain": 2}}]')") +
HelpExampleCli("transferdomain", R"('[{"src":{"address":"<ETH_address>", "amount":"1.0@DFI", "domain": 2}, "dst":{"address":"<DFI_address>", "amount":"1.0@DFI", "domain": 1}}]')")
},
}.Check(request);

Expand Down

0 comments on commit ca5599a

Please sign in to comment.