diff options
| author | João Barbosa <[email protected]> | 2018-04-13 14:02:59 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-04-13 14:02:59 +0100 |
| commit | 1936125671fbdb3411fcdf0d09fbd7ced32272e6 (patch) | |
| tree | b401fc0f2c1130ad508581ff4127f090ed14466f /src/init.cpp | |
| parent | Merge #12888: debug log number of unknown wallet records on load (diff) | |
| download | discoin-1936125671fbdb3411fcdf0d09fbd7ced32272e6.tar.xz discoin-1936125671fbdb3411fcdf0d09fbd7ced32272e6.zip | |
wallet: Make WalletInitInterface members const
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/init.cpp b/src/init.cpp index 9edd93000..0be5f7c4f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -76,15 +76,15 @@ std::unique_ptr<PeerLogicValidation> peerLogic; class DummyWalletInit : public WalletInitInterface { public: - std::string GetHelpString(bool showDebug) override {return std::string{};} - bool ParameterInteraction() override {return true;} - void RegisterRPC(CRPCTable &) override {} - bool Verify() override {return true;} - bool Open() override {LogPrintf("No wallet support compiled in!\n"); return true;} - void Start(CScheduler& scheduler) override {} - void Flush() override {} - void Stop() override {} - void Close() override {} + std::string GetHelpString(bool showDebug) const override {return std::string{};} + bool ParameterInteraction() const override {return true;} + void RegisterRPC(CRPCTable &) const override {} + bool Verify() const override {return true;} + bool Open() const override {LogPrintf("No wallet support compiled in!\n"); return true;} + void Start(CScheduler& scheduler) const override {} + void Flush() const override {} + void Stop() const override {} + void Close() const override {} }; static DummyWalletInit g_dummy_wallet_init; |