mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge pull request #4673
1c5f0af[Qt] Add column Watch-only to transactions list (Cozz Lovan)939ed97Add boolean HaveWatchonly and signal NotifyWatchonlyChanged (Cozz Lovan)
This commit is contained in:
commit
d49b0876a4
19 changed files with 172 additions and 23 deletions
|
|
@ -161,6 +161,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue