Remove more sprouty code
This commit is contained in:
@@ -1911,14 +1911,6 @@ void CWallet::MarkAffectedTransactionsDirty(const CTransaction& tx)
|
|||||||
if (mapWallet.count(txin.prevout.hash))
|
if (mapWallet.count(txin.prevout.hash))
|
||||||
mapWallet[txin.prevout.hash].MarkDirty();
|
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) {
|
for (const SpendDescription &spend : tx.vShieldedSpend) {
|
||||||
uint256 nullifier = spend.nullifier;
|
uint256 nullifier = spend.nullifier;
|
||||||
|
|||||||
Reference in New Issue
Block a user