diff options
author | Patrick Strateman <patrick.strateman@gmail.com> | 2016-05-16 17:31:16 -0700 |
---|---|---|
committer | Patrick Strateman <patrick.strateman@gmail.com> | 2016-05-16 17:48:25 -0700 |
commit | 380498aba4f6aebe53a8241f163e3c7fe424b7e0 (patch) | |
tree | c191b564f4bcb915de931d85f661e64045cc65e6 /src/wallet/rpcwallet.cpp | |
parent | ecb9741ec3067f67f595126869d0200c62064bbd (diff) |
Move BackupWallet to CWallet::BackupWallet
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 8bd1279b7f..f11f299141 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1804,7 +1804,7 @@ UniValue backupwallet(const UniValue& params, bool fHelp) LOCK2(cs_main, pwalletMain->cs_wallet); string strDest = params[0].get_str(); - if (!BackupWallet(*pwalletMain, strDest)) + if (!pwalletMain->BackupWallet(strDest)) throw JSONRPCError(RPC_WALLET_ERROR, "Error: Wallet backup failed!"); return NullUniValue; |