From 5f6bcc4a60d8033c32bf6d8d82824a81961e3be8 Mon Sep 17 00:00:00 2001 From: Jochem Brouwer Date: Tue, 31 May 2022 16:20:19 +0200 Subject: [PATCH] tx: remove v==0 check which always defaults to the default common --- packages/tx/src/legacyTransaction.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/tx/src/legacyTransaction.ts b/packages/tx/src/legacyTransaction.ts index f93e054242..dc26a1dcf5 100644 --- a/packages/tx/src/legacyTransaction.ts +++ b/packages/tx/src/legacyTransaction.ts @@ -393,7 +393,6 @@ export default class Transaction extends BaseTransaction { // No unsigned tx and EIP-155 activated and chain ID included if ( v !== undefined && - !v.eqn(0) && // TODO fixme -> why overwrite/return default common when `v` is set to 0? (!common || common.gteHardfork('spuriousDragon')) && !v.eqn(27) && !v.eqn(28)