aboutsummaryrefslogtreecommitdiffstats
path: root/core/types
diff options
context:
space:
mode:
Diffstat (limited to 'core/types')
-rw-r--r--core/types/transaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/transaction.go b/core/types/transaction.go
index 86948b5b7..ee2f25b52 100644
--- a/core/types/transaction.go
+++ b/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{}
}