From 939ed97373fdea0e8ecb173f1c22eb53b9f90bb6 Mon Sep 17 00:00:00 2001 From: Cozz Lovan Date: Sat, 26 Jul 2014 21:05:11 +0200 Subject: Add boolean HaveWatchonly and signal NotifyWatchonlyChanged --- src/wallet.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet.cpp') 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); -- cgit v1.2.3