upgrade to ethermint v0.21.0 #99
@ -39,7 +39,7 @@ func (b *Backend) SendTransaction(args evmtypes.TransactionArgs) (common.Hash, e
|
|||||||
_, err := b.clientCtx.Keyring.KeyByAddress(sdk.AccAddress(args.GetFrom().Bytes()))
|
_, err := b.clientCtx.Keyring.KeyByAddress(sdk.AccAddress(args.GetFrom().Bytes()))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
b.logger.Error("failed to find key in keyring", "address", args.GetFrom(), "error", err.Error())
|
b.logger.Error("failed to find key in keyring", "address", args.GetFrom(), "error", err.Error())
|
||||||
return common.Hash{}, fmt.Errorf("%s; %s", keystore.ErrNoMatch, err.Error())
|
return common.Hash{}, fmt.Errorf("failed to find key in the node's keyring; %s; %s", keystore.ErrNoMatch, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
if args.ChainID != nil && (b.chainID).Cmp((*big.Int)(args.ChainID)) != 0 {
|
if args.ChainID != nil && (b.chainID).Cmp((*big.Int)(args.ChainID)) != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user