You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wallet: Check spent Orchard notes in CWallet{Tx}::IsFromMe
We missed these methods when integrating Orchard into the wallet.
- We didn't notice `CWallet::IsFromMe` because while previous shielded
protocols did spend detection in `CWallet::AddToWalletIfInvolvingMe`
via that logic, the Orchard logic was implemented in a separate
internal Rust wallet with its own detection logic. Technically the
change is unnecessary here as `CWallet::AddToWalletIfInvolvingMe` is
the only user of this method, but we update it for consistency.
- We didn't notice `CWalletTx::IsFromMe` because the only critical place
it affects is the `getbalance` RPC (other than that, it is only called
from code used to either create purely-transparent transactions, or
provide informational output on non-critical RPC methods). We had a
similar bug with this method previously where it didn't track shielded
at all (zcash/zcash@fd49f78).
0 commit comments