This commit is contained in:
thomasmodeneis 2020-04-22 19:39:09 +02:00 committed by GitHub
parent 729e93f8a8
commit 2693718662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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)
}

View File

@ -37,7 +37,6 @@ type (
Data TxData
// caches
hash atomic.Value
size atomic.Value
from atomic.Value
}