Skip to content

Commit

Permalink
RPC params convertion cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose committed Mar 20, 2019
1 parent ce19a5f commit 77ba5ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rpc/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "logging", 1, "exclude" },
{ "disconnectnode", 1, "nodeid" },
{ "addwitnessaddress", 1, "p2sh" },
{ "initpegoutwallet", 1, "bip32_counter"},
// Echo with conversion (For testing only)
{ "echojson", 0, "arg0" },
{ "echojson", 1, "arg1" },
Expand All @@ -161,10 +160,11 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "echojson", 7, "arg7" },
{ "echojson", 8, "arg8" },
{ "echojson", 9, "arg9" },
{ "rescanblockchain", 0, "start_height"},
{ "rescanblockchain", 1, "stop_height"},
{ "createwallet", 1, "disable_private_keys"},
{ "combineblocksigs", 1, "signatures"},
// ELEMENTS:
{ "rescanblockchain", 0, "start_height" },
{ "rescanblockchain", 1, "stop_height" },
{ "createwallet", 1, "disable_private_keys" },
{ "combineblocksigs", 1, "signatures" },
{ "sendtomainchain", 1, "amount" },
{ "sendtomainchain", 2, "subtractfeefromamount" },
};
Expand Down

0 comments on commit 77ba5ee

Please sign in to comment.