diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-04-17 18:22:23 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-04-18 22:07:33 +0100 |
commit | 373aee26c3df233f4e0a7e806f45ac7cb5aab1e6 (patch) | |
tree | 9594af3ef3b909ff0c70bb73917785b460308d67 /src/rpc | |
parent | 6efd9644cfe31168db1841010cffa64dfe604e67 (diff) |
wallet: Add AddWallet, RemoveWallet, GetWallet and GetWallets
With these new functions all vpwallets usage are removed
and vpwallets is now a static variable (no external linkage).
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 49e865a64a..ba3ea70557 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -69,7 +69,7 @@ UniValue validateaddress(const JSONRPCRequest& request) { #ifdef ENABLE_WALLET - if (!::vpwallets.empty() && IsDeprecatedRPCEnabled("validateaddress")) { + if (!GetWallets().empty() && IsDeprecatedRPCEnabled("validateaddress")) { ret.pushKVs(getaddressinfo(request)); } #endif |