aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-06-18 17:14:00 +0800
committerGitHub <noreply@github.com>2019-06-18 17:14:00 +0800
commit96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873 (patch)
tree7d17e1cffb69a4027be012f947f086ac8b22cc49
parentcf47ee53393feda3e4e57d5648261643a5009792 (diff)
parent38c914be644ae50c18bb9dc1a413e560b57e4e13 (diff)
downloadgo-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar.gz
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar.bz2
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar.lz
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar.xz
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.tar.zst
go-tangerine-96f8be36ad021b5b2a1f4a41c9979fbe1c4e2873.zip
Merge pull request #19732 from karalabe/simulated-eip155
accounts/abi/bind/backends: use EIP155 on the simulated chain
-rw-r--r--accounts/abi/bind/backends/simulated.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go
index ac4602fe3..236c57564 100644
--- a/accounts/abi/bind/backends/simulated.go
+++ b/accounts/abi/bind/backends/simulated.go
@@ -316,7 +316,7 @@ func (b *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transa
b.mu.Lock()
defer b.mu.Unlock()
- sender, err := types.Sender(types.HomesteadSigner{}, tx)
+ sender, err := types.Sender(types.NewEIP155Signer(b.config.ChainID), tx)
if err != nil {
panic(fmt.Errorf("invalid transaction: %v", err))
}