diff options
| author | John Newbery <[email protected]> | 2018-03-27 15:35:54 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-03-27 15:35:54 -0400 |
| commit | c7ec5243892c38f9f77781b0e24a237942e7c776 (patch) | |
| tree | 6f93e2bee23ecac7fc1c03d63713e1575304a02e /src/qt/bitcoin.cpp | |
| parent | [wallet] Use global g_wallet_init_interface to init/destroy the wallet. (diff) | |
| download | discoin-c7ec5243892c38f9f77781b0e24a237942e7c776.tar.xz discoin-c7ec5243892c38f9f77781b0e24a237942e7c776.zip | |
[wallet] Add dummy wallet init class
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index e6a2af5f6..cb2e6aac9 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -35,8 +35,8 @@ #ifdef ENABLE_WALLET #include <wallet/init.h> #include <wallet/wallet.h> -#include <walletinitinterface.h> #endif +#include <walletinitinterface.h> #include <stdint.h> @@ -674,6 +674,8 @@ int main(int argc, char *argv[]) // Hook up the wallet init interface g_wallet_init_interface.reset(new WalletInit); +#else + g_wallet_init_interface.reset(new DummyWalletInit); #endif /// 9. Main GUI initialization |