diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-07 08:33:49 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-20 15:03:25 +0100 |
commit | dd2dc400eed7c4e8521d1264d652ee32070d2c47 (patch) | |
tree | 89f56a6a0f1b6b38054a25bdff3678f3ccdc0fc1 /src/test/test_bitcoin.cpp | |
parent | e1060c56cca7eeab8e217eb7b416c16487fd175e (diff) |
[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
Allow extending the rpc dispatch table by appending commands when server is not running.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index f81050b15d..0416d0c926 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -54,6 +54,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha const CChainParams& chainparams = Params(); #ifdef ENABLE_WALLET bitdb.MakeMock(); + walletRegisterRPCCommands(); #endif ClearDatadirCache(); pathTemp = GetTempPath() / strprintf("test_bitcoin_%lu_%i", (unsigned long)GetTime(), (int)(GetRand(100000))); |