diff options
| author | Chris Moore <[email protected]> | 2017-08-30 00:32:54 -0700 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-09-05 15:22:28 -0700 |
| commit | a1ea1cfbd8d4fc976f0ab2423d395e03ded6eedd (patch) | |
| tree | 4847e4214efec4ec9c0e103eaaed8d466f476512 /src/qt/walletmodel.h | |
| parent | doc: Update release notes from wiki (diff) | |
| download | discoin-a1ea1cfbd8d4fc976f0ab2423d395e03ded6eedd.tar.xz discoin-a1ea1cfbd8d4fc976f0ab2423d395e03ded6eedd.zip | |
qt: Use IsMine to validate custom change address
(cherry picked from commit c41224dfd51c896341bbf2fa23e160bf5ffe27c3)
Diffstat (limited to 'src/qt/walletmodel.h')
| -rw-r--r-- | src/qt/walletmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 6be36a57e..05733f827 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -190,7 +190,7 @@ public: UnlockContext requestUnlock(); bool getPubKey(const CKeyID &address, CPubKey& vchPubKeyOut) const; - bool havePrivKey(const CKeyID &address) const; + bool IsSpendable(const CTxDestination& dest) const; bool getPrivKey(const CKeyID &address, CKey& vchPrivKeyOut) const; void getOutputs(const std::vector<COutPoint>& vOutpoints, std::vector<COutput>& vOutputs); bool isSpent(const COutPoint& outpoint) const; |