Remove more sprouty code

This commit is contained in:
Duke Leto
2020-03-10 07:22:23 -04:00
parent 41662dc370
commit 1beb2b1fa8

View File

@@ -1911,14 +1911,6 @@ void CWallet::MarkAffectedTransactionsDirty(const CTransaction& tx)
if (mapWallet.count(txin.prevout.hash))
mapWallet[txin.prevout.hash].MarkDirty();
}
for (const JSDescription& jsdesc : tx.vjoinsplit) {
for (const uint256& nullifier : jsdesc.nullifiers) {
if (mapSproutNullifiersToNotes.count(nullifier) &&
mapWallet.count(mapSproutNullifiersToNotes[nullifier].hash)) {
mapWallet[mapSproutNullifiersToNotes[nullifier].hash].MarkDirty();
}
}
}
for (const SpendDescription &spend : tx.vShieldedSpend) {
uint256 nullifier = spend.nullifier;