diff --git a/src/wallet.cpp b/src/wallet.cpp index 7070472..cfb297d 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -2117,7 +2117,7 @@ namespace lwsf { namespace internal return out.str(); } -#ifndef LWSF_MASTER_ENABLE + // NOTE: These functions are always needed for Wownero (they're pure virtual in wallet2_api.h) bool wallet::lightWalletLogin(bool &isNewWallet) const { isNewWallet = false; @@ -2158,5 +2158,5 @@ namespace lwsf { namespace internal return true; } #endif // LWSF_MASTER_ENABLE - + }} // lwsf // internal diff --git a/src/wallet.h b/src/wallet.h index c1f880c..51cabdd 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -747,13 +747,11 @@ namespace internal //! secondary key reuse mitigation virtual void keyReuseMitigation2(bool mitigation) override { /* TODO */ } -#ifndef LWSF_MASTER_ENABLE //! Light wallet authenticate and login virtual bool lightWalletLogin(bool &isNewWallet) const override; //! Initiates a light wallet import wallet request virtual bool lightWalletImportWalletRequest(std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status) override; -#endif // LWSF_MASTER_ENABLE //! locks/unlocks the keys file; returns true on success virtual bool lockKeysFile() override { return false; }