diff --git a/crates/mempool/src/transaction_pool.rs b/crates/mempool/src/transaction_pool.rs index f242f1dce..ef161853b 100644 --- a/crates/mempool/src/transaction_pool.rs +++ b/crates/mempool/src/transaction_pool.rs @@ -90,7 +90,7 @@ impl AccountTransactionIndex { } pub fn remove(&mut self, tx: TransactionReference) -> Option { - let ThinTransaction { sender_address, nonce, .. } = tx.0; + let TransactionReference { sender_address, nonce, .. } = tx; let account_txs = self.0.get_mut(&sender_address)?; let removed_tx = account_txs.remove(&nonce);