Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115760
D7728.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
601 B
Subscribers
None
D7728.diff
View Options
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -2436,8 +2436,9 @@
std::vector<COutPoint> lockedCoins;
ListLockedCoins(lockedCoins);
- // Include watch-only for wallets without private keys
+ // Include watch-only for LegacyScriptPubKeyMan wallets without private keys
const bool include_watch_only =
+ GetLegacyScriptPubKeyMan() &&
IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS);
const isminetype is_mine_filter =
include_watch_only ? ISMINE_WATCH_ONLY : ISMINE_SPENDABLE;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:59 (47 m, 58 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187747
Default Alt Text
D7728.diff (601 B)
Attached To
D7728: [backport#17677] Activate watchonly wallet behavior for LegacySPKM only
Event Timeline
Log In to Comment