diff options
-rw-r--r-- | src/interfaces/wallet.h | 3 | ||||
-rw-r--r-- | src/wallet/interfaces.cpp | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 6ccfd7fc20..988e59b65a 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -121,6 +121,9 @@ public: //! Get dest values with prefix. virtual std::vector<std::string> 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 64ce09d1d1..bc39450eb3 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); |