Skip to content

Commit

Permalink
fix typo in #56
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Oct 30, 2024
1 parent 3a9eebe commit a28975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/primitives/src/types/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl TxTrace for TransactionTrace {

fn chain_id(&self) -> Option<ChainId> {
let chain_id: ChainId = self.chain_id.to();
if self.ty == 0 && chain_id < 35 {
if self.ty == 0 && self.v() < 35 {
None
} else {
Some(chain_id)
Expand Down

0 comments on commit a28975b

Please sign in to comment.