Skip to content

Commit 38c914b

Browse files
committed
accounts/abi/bind/backends: use EIP155 on the simulated chain
1 parent cf47ee5 commit 38c914b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎accounts/abi/bind/backends/simulated.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func (b *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transa
316316
b.mu.Lock()
317317
defer b.mu.Unlock()
318318

319-
sender, err := types.Sender(types.HomesteadSigner{}, tx)
319+
sender, err := types.Sender(types.NewEIP155Signer(b.config.ChainID), tx)
320320
if err != nil {
321321
panic(fmt.Errorf("invalid transaction: %v", err))
322322
}

0 commit comments

Comments
 (0)