Skip to content

Commit 8a78635

Browse files
committed
cmd/evm: change tx signer to latest
1 parent d0b90b3 commit 8a78635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/evm/internal/t8ntool/transition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func Transition(ctx *cli.Context) error {
241241
}
242242
}
243243
// We may have to sign the transactions.
244-
signer := types.MakeSigner(chainConfig, big.NewInt(int64(prestate.Env.Number)), prestate.Env.Timestamp)
244+
signer := types.LatestSignerForChainID(chainConfig.ChainID)
245245

246246
if txs, err = signUnsignedTransactions(txsWithKeys, signer); err != nil {
247247
return NewError(ErrorJson, fmt.Errorf("failed signing transactions: %v", err))

0 commit comments

Comments
 (0)