From 4c7457ee20e2b15e3537bc57a0af424b7c4dbb08 Mon Sep 17 00:00:00 2001 From: Niven Date: Tue, 21 Nov 2023 18:00:37 +0800 Subject: [PATCH] Fix fmt cpp --- src/dfi/rpc_accounts.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/dfi/rpc_accounts.cpp b/src/dfi/rpc_accounts.cpp index 7bdaeb5f67..f002dc916a 100644 --- a/src/dfi/rpc_accounts.cpp +++ b/src/dfi/rpc_accounts.cpp @@ -2124,7 +2124,7 @@ UniValue transferdomain(const JSONRPCRequest &request) { "DVM, etc.\n" + HelpRequiringPassphrase(pwallet) + "\n", { - { + { "array", RPCArg::Type::ARR, RPCArg::Optional::NO, @@ -2188,8 +2188,7 @@ UniValue transferdomain(const JSONRPCRequest &request) { }, }, }, - }, - }, + }, }, RPCResult{"\"hash\" (string) The hex-encoded hash of broadcasted transaction\n"}, RPCExamples{ HelpExampleCli( @@ -2223,9 +2222,9 @@ UniValue transferdomain(const JSONRPCRequest &request) { const UniValue &elem = srcDstArray[i].get_obj(); RPCTypeCheckObj(elem, { - {"src", UniValueType(UniValue::VOBJ)}, - {"dst", UniValueType(UniValue::VOBJ)}, - {"nonce", UniValueType(UniValue::VNUM)}, + {"src", UniValueType(UniValue::VOBJ) }, + {"dst", UniValueType(UniValue::VOBJ) }, + {"nonce", UniValueType(UniValue::VNUM) }, {"singlekeycheck", UniValueType(UniValue::VBOOL)}, }, true,