aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorlsilva01 <lsilva01@protonmail.com>2021-07-27 14:28:23 -0300
committerlsilva01 <lsilva01@protonmail.com>2021-08-10 22:44:54 -0300
commitae23faba6fc5cabc896f1175456d1018576f912d (patch)
treee7b6e2413d82d47da37726b57c59ca6342cfb1ee /src/rpc
parent0b5344b0d18788e011f2d4a279c8c12a29f1428a (diff)
Add a new RPC command: restorewallet
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 9b5d181c4e..4357ab2bb3 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -187,6 +187,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "createwallet", 5, "descriptors"},
{ "createwallet", 6, "load_on_startup"},
{ "createwallet", 7, "external_signer"},
+ { "restorewallet", 2, "load_on_startup"},
{ "loadwallet", 1, "load_on_startup"},
{ "unloadwallet", 1, "load_on_startup"},
{ "getnodeaddresses", 0, "count"},