diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-03-01 13:45:16 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-03-01 15:34:43 +0100 |
commit | 9586157c0f9c12d3cfa55926ccc6c022324fa60a (patch) | |
tree | b953862801a999d2ac0a8bf921d9c63b1968e607 | |
parent | ca253f6ebf2c9a12f5cb2b4c9f575178d058a612 (diff) |
[rpc] deriveaddresses: add range to CRPCConvertParam
-rw-r--r-- | src/rpc/client.cpp | 3 | ||||
-rw-r--r-- | src/rpc/misc.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 1cdc9f87a7..82424ab521 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -68,8 +68,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "sendmany", 4, "subtractfeefrom" }, { "sendmany", 5 , "replaceable" }, { "sendmany", 6 , "conf_target" }, - { "deriveaddresses", 1, "begin" }, - { "deriveaddresses", 2, "end" }, + { "deriveaddresses", 1, "range" }, { "scantxoutset", 1, "scanobjects" }, { "addmultisigaddress", 0, "nrequired" }, { "addmultisigaddress", 1, "keys" }, diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 765fd772fe..822a0beef9 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -603,7 +603,7 @@ static const CRPCCommand commands[] = { "control", "logging", &logging, {"include", "exclude"}}, { "util", "validateaddress", &validateaddress, {"address"} }, { "util", "createmultisig", &createmultisig, {"nrequired","keys","address_type"} }, - { "util", "deriveaddresses", &deriveaddresses, {"descriptor", "begin", "end"} }, + { "util", "deriveaddresses", &deriveaddresses, {"descriptor", "range"} }, { "util", "getdescriptorinfo", &getdescriptorinfo, {"descriptor"} }, { "util", "verifymessage", &verifymessage, {"address","signature","message"} }, { "util", "signmessagewithprivkey", &signmessagewithprivkey, {"privkey","message"} }, |