Skip to content

Commit

Permalink
check made redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis committed Nov 7, 2024
1 parent 0c707ba commit 6d5a453
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions erigon-lib/types/txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,10 +590,6 @@ func (ctx *TxParseContext) parseTransactionBody(payload []byte, pos, p0 int, slo
sigHashLen += uint(chainIDLen) // For chainId
sigHashLen += 2 // For two extra zeros
}
} else {
if ctx.Signature.V.GtUint64(1) {
return 0, fmt.Errorf("%w: v is too big: %s", ErrParseTxn, &ctx.Signature.V)
}
}

// For legacy transactions, hash the full payload
Expand Down

0 comments on commit 6d5a453

Please sign in to comment.