diff options
| author | MarcoFalke <[email protected]> | 2016-09-19 16:09:38 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-09-20 17:32:05 +0200 |
| commit | fab91070d38aa248a852e04c56dcb73e4022872d (patch) | |
| tree | 7803823646f7ade7f419853296ab8edb121e8e59 /src/wallet/rpcwallet.cpp | |
| parent | Merge #8739: [qa] Fix broken sendcmpct test in p2p-compactblocks.py (diff) | |
| download | discoin-fab91070d38aa248a852e04c56dcb73e4022872d.tar.xz discoin-fab91070d38aa248a852e04c56dcb73e4022872d.zip | |
init: Get rid of fDisableWallet
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
| -rw-r--r-- | src/wallet/rpcwallet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 993caad40..3eb7e5d9b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2630,6 +2630,9 @@ static const CRPCCommand commands[] = void RegisterWalletRPCCommands(CRPCTable &t) { + if (GetBoolArg("-disablewallet", false)) + return; + for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++) t.appendCommand(commands[vcidx].name, &commands[vcidx]); } |