diff options
| author | Cozz Lovan <[email protected]> | 2014-07-26 21:05:11 +0200 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-08-11 18:47:02 +0200 |
| commit | 939ed97373fdea0e8ecb173f1c22eb53b9f90bb6 (patch) | |
| tree | ce3d6651e29d593f422d4d199ba323e4b4ee5c10 /src/wallet.cpp | |
| parent | Merge pull request #4592 (diff) | |
| download | discoin-939ed97373fdea0e8ecb173f1c22eb53b9f90bb6.tar.xz discoin-939ed97373fdea0e8ecb173f1c22eb53b9f90bb6.zip | |
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 7c04743c0..a293664f6 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); |