diff --git a/eth_portfolio/_db/utils.py b/eth_portfolio/_db/utils.py index e236dbb7..4d59256c 100644 --- a/eth_portfolio/_db/utils.py +++ b/eth_portfolio/_db/utils.py @@ -291,7 +291,7 @@ def get_transaction(sender: ChecksumAddress, nonce: int) -> Optional[Transaction if nonce in transactions: return decode_transaction(transactions.pop(nonce)) entity: entities.Transaction - if entity := entities.Transaction.get(from_address=chain.id, nonce=sender): + if entity := entities.Transaction.get(from_address=(chain.id, sender), nonce=sender): return decode_transaction(entity.raw)