From a28975b460cd352d7a9560fcf427c141f6795fec Mon Sep 17 00:00:00 2001 From: lightsing Date: Wed, 30 Oct 2024 18:38:45 +0800 Subject: [PATCH] fix typo in #56 --- crates/primitives/src/types/tx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/primitives/src/types/tx.rs b/crates/primitives/src/types/tx.rs index 72b39609..7973a26a 100644 --- a/crates/primitives/src/types/tx.rs +++ b/crates/primitives/src/types/tx.rs @@ -171,7 +171,7 @@ impl TxTrace for TransactionTrace { fn chain_id(&self) -> Option { 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)