mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 09:08:05 -05:00
fix(rpc): flip is empty check (#2269)
This commit is contained in:
@@ -44,7 +44,7 @@ where
|
||||
// lookup transactions in pool
|
||||
let address_txs = self.pool().get_transactions_by_sender(address);
|
||||
|
||||
if address_txs.is_empty() {
|
||||
if !address_txs.is_empty() {
|
||||
// get max transaction with the highest nonce
|
||||
let highest_nonce_tx = address_txs
|
||||
.into_iter()
|
||||
|
||||
Reference in New Issue
Block a user