wormchain: use newCtx in antehandler

This commit is contained in:
Conor Patrick 2023-01-31 16:39:57 +00:00
parent ce9c70682c
commit 723f663adc
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ func WrapAnteHandler(originalHandler sdk.AnteHandler, wormKeeper wormholemodulek
if err != nil {
return newCtx, err
}
return whHandler.AnteHandle(ctx, tx, simulate, func(ctx sdk.Context, tx sdk.Tx, simulate bool) (sdk.Context, error) {
return whHandler.AnteHandle(newCtx, tx, simulate, func(ctx sdk.Context, tx sdk.Tx, simulate bool) (sdk.Context, error) {
return ctx, nil
})
}