aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-06-18 16:49:30 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-06-18 16:49:30 +0800
commit38c914be644ae50c18bb9dc1a413e560b57e4e13 (patch)
tree7d17e1cffb69a4027be012f947f086ac8b22cc49
parentcf47ee53393feda3e4e57d5648261643a5009792 (diff)
downloadgo-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar.gz
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar.bz2
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar.lz
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar.xz
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.tar.zst
go-tangerine-38c914be644ae50c18bb9dc1a413e560b57e4e13.zip
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))
}