Skip to content

Commit

Permalink
fix: update to NewLondonSigner
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryTong65 committed Apr 22, 2024
1 parent f677643 commit fdf035a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsc/api_basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c *Client) SendTx(ctx context.Context, nonce uint64, toAddr *common.Addres
if err != nil {
return nil, err
}
signedTx, err := types.SignTx(tx, types.NewEIP155Signer(chainId), c.defaultAccount.GetKeyManager().GetPrivateKey())
signedTx, err := types.SignTx(tx, types.NewLondonSigner(chainId), c.defaultAccount.GetKeyManager().GetPrivateKey())
if err != nil {
return nil, err
}
Expand Down

0 comments on commit fdf035a

Please sign in to comment.