We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81678d6 commit 28769aaCopy full SHA for 28769aa
1 file changed
crates/anvil/src/eth/pool/transactions.rs
@@ -653,11 +653,11 @@ impl ReadyTransactions {
653
654
// remove from unlocks
655
for mark in &tx.transaction.transaction.requires {
656
- if let Some(hash) = self.provided_markers.get(mark)
657
- && let Some(tx) = ready.get_mut(hash)
658
- && let Some(idx) = tx.unlocks.iter().position(|i| i == hash)
+ if let Some(provider_hash) = self.provided_markers.get(mark)
+ && let Some(provider_tx) = ready.get_mut(provider_hash)
+ && let Some(idx) = provider_tx.unlocks.iter().position(|i| i == &hash)
659
{
660
- tx.unlocks.swap_remove(idx);
+ provider_tx.unlocks.swap_remove(idx);
661
}
662
663
0 commit comments