fix lint (#264)
This commit is contained in:
parent
729e93f8a8
commit
2693718662
@ -137,7 +137,7 @@ func (esvd EthSigVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, s
|
||||
// NOTE: signer is retrieved from the transaction on the next AnteDecorator
|
||||
_, err = msgEthTx.VerifySig(chainID)
|
||||
if err != nil {
|
||||
return ctx, sdkerrors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("signature verification failed"))
|
||||
return ctx, sdkerrors.Wrap(sdkerrors.ErrUnauthorized, "signature verification failed")
|
||||
}
|
||||
|
||||
return next(ctx, msgEthTx, simulate)
|
||||
|
@ -76,7 +76,7 @@ func HandleMsgEthereumTx(ctx sdk.Context, k Keeper, msg types.MsgEthereumTx) sdk
|
||||
k.Bloom.Or(k.Bloom, returnData.Bloom)
|
||||
|
||||
// update transaction logs in KVStore
|
||||
err = k.SetTransactionLogs(ctx, returnData.Logs, txHash[:])
|
||||
err = k.SetTransactionLogs(ctx, returnData.Logs, txHash)
|
||||
if err != nil {
|
||||
return sdk.ResultFromError(err)
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ type (
|
||||
Data TxData
|
||||
|
||||
// caches
|
||||
hash atomic.Value
|
||||
size atomic.Value
|
||||
from atomic.Value
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user