Skip to content

Commit dff5ca7

Browse files
committed
Do not allow v to be zero
1 parent a49e9b9 commit dff5ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tx/src/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ export default class Transaction {
405405
* Validates tx's `v` value
406406
*/
407407
private _validateTxV(v: BN | undefined): void {
408-
if (v === undefined || v.toNumber() === 0) {
408+
if (v === undefined) {
409409
return
410410
}
411411

0 commit comments

Comments
 (0)