diff --git a/crates/optimism/rpc/src/eth/transaction.rs b/crates/optimism/rpc/src/eth/transaction.rs index a4b4c064970da..ab7525016a1ac 100644 --- a/crates/optimism/rpc/src/eth/transaction.rs +++ b/crates/optimism/rpc/src/eth/transaction.rs @@ -116,7 +116,8 @@ impl TransactionCompat for OpTxBuilder { source_hash: signed_tx.source_hash(), mint: signed_tx.mint(), // only include is_system_tx if true: - is_system_tx: signed_tx.is_deposit().then_some(signed_tx.is_system_transaction()), + is_system_tx: (signed_tx.is_deposit() && signed_tx.is_system_transaction()) + .then_some(true), deposit_receipt_version: None, // todo: how to fill this field? } }