diff options
Diffstat (limited to 'core/types/transaction.go')
-rw-r--r-- | core/types/transaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction.go b/core/types/transaction.go index 9382acb70..ab0bba4dc 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -42,7 +42,7 @@ var ( // deriveSigner makes a *best* guess about which signer to use. func deriveSigner(V *big.Int) Signer { - if V.BitLen() > 0 && isProtectedV(V) { + if V.Sign() != 0 && isProtectedV(V) { return EIP155Signer{chainId: deriveChainId(V)} } else { return HomesteadSigner{} |