mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Add src/wallet/* code to wallet:: namespace
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
namespace wallet {
|
||||
static const std::string WALLET_ENDPOINT_BASE = "/wallet/";
|
||||
const std::string HELP_REQUIRING_PASSPHRASE{"\nRequires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.\n"};
|
||||
|
||||
@@ -147,4 +148,5 @@ void HandleWalletError(const std::shared_ptr<CWallet> wallet, DatabaseStatus& st
|
||||
}
|
||||
throw JSONRPCError(code, error.original);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace wallet
|
||||
|
||||
Reference in New Issue
Block a user