From ca5599a93dee1bd0a75901cf627dcd7bb7248cd0 Mon Sep 17 00:00:00 2001 From: Mihailo Milenkovic Date: Fri, 9 Jun 2023 11:22:57 +0200 Subject: [PATCH] Fix transferdomain rpc example --- src/masternodes/rpc_accounts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/masternodes/rpc_accounts.cpp b/src/masternodes/rpc_accounts.cpp index ed7be6a74d..3a288a65f8 100644 --- a/src/masternodes/rpc_accounts.cpp +++ b/src/masternodes/rpc_accounts.cpp @@ -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":, "amount\":"1.0@DFI", "domain": 1}, {"dst":{"address":, "amount":"1.0@DFI", "domain": 2}}]')") + - HelpExampleCli("transferdomain", R"('[{"src":{"address":, "amount\":"1.0@DFI", "domain": 2}, {"dst":{"address":, "amount":"1.0@DFI", "domain": 1}}]')") + HelpExampleCli("transferdomain", R"('[{"src":{"address":"", "amount":"1.0@DFI", "domain": 1}, "dst":{"address":"", "amount":"1.0@DFI", "domain": 2}}]')") + + HelpExampleCli("transferdomain", R"('[{"src":{"address":"", "amount":"1.0@DFI", "domain": 2}, "dst":{"address":"", "amount":"1.0@DFI", "domain": 1}}]')") }, }.Check(request);