diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-07-26 21:05:11 +0200 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-08-11 18:47:02 +0200 |
commit | 939ed97373fdea0e8ecb173f1c22eb53b9f90bb6 (patch) | |
tree | ce3d6651e29d593f422d4d199ba323e4b4ee5c10 /src/wallet.cpp | |
parent | 8b11d3de7aa4fc3f6c4e7bf292495850034ded2c (diff) |
Add boolean HaveWatchonly and signal NotifyWatchonlyChanged
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 7c04743c0f..a293664f6d 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -153,6 +153,7 @@ bool CWallet::AddWatchOnly(const CScript &dest) if (!CCryptoKeyStore::AddWatchOnly(dest)) return false; nTimeFirstKey = 1; // No birthday information for watch-only keys. + NotifyWatchonlyChanged(true); if (!fFileBacked) return true; return CWalletDB(strWalletFile).WriteWatchOnly(dest); |