diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 6ccfd7fc205..988e59b65a0 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -121,6 +121,9 @@ public: //! Get dest values with prefix. virtual std::vector getDestValues(const std::string& prefix) = 0; + //! Display address on external signer + virtual bool displayAddress(const CTxDestination& dest) = 0; + //! Lock coin. virtual void lockCoin(const COutPoint& output) = 0; diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp index 64ce09d1d12..bc39450eb39 100644 --- a/src/wallet/interfaces.cpp +++ b/src/wallet/interfaces.cpp @@ -214,6 +214,11 @@ public: LOCK(m_wallet->cs_wallet); return m_wallet->GetDestValues(prefix); } + bool displayAddress(const CTxDestination& dest) override + { + LOCK(m_wallet->cs_wallet); + return m_wallet->DisplayAddress(dest); + } void lockCoin(const COutPoint& output) override { LOCK(m_wallet->cs_wallet);