wormchain: use newCtx in antehandler
This commit is contained in:
parent
ce9c70682c
commit
723f663adc
|
@ -592,7 +592,7 @@ func WrapAnteHandler(originalHandler sdk.AnteHandler, wormKeeper wormholemodulek
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return newCtx, err
|
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
|
return ctx, nil
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue