Merge pull request #3820 from fjl/core-types-eip155-chainid-mul

core/types: ensure all EIP155 signer fields are set by deriveSigner
pull/3830/merge
Péter Szilágyi 8 years ago committed by GitHub
commit 7419d0c382
  1. 2
      core/types/transaction.go

@ -40,7 +40,7 @@ var (
// deriveSigner makes a *best* guess about which signer to use.
func deriveSigner(V *big.Int) Signer {
if V.Sign() != 0 && isProtectedV(V) {
return EIP155Signer{chainId: deriveChainId(V)}
return NewEIP155Signer(deriveChainId(V))
} else {
return HomesteadSigner{}
}

Loading…
Cancel
Save