diff --git a/x/opchild/keeper/msg_server.go b/x/opchild/keeper/msg_server.go index b220a5b..a0d1b46 100644 --- a/x/opchild/keeper/msg_server.go +++ b/x/opchild/keeper/msg_server.go @@ -459,7 +459,7 @@ func (ms MsgServer) FinalizeTokenDeposit(ctx context.Context, req *types.MsgFina // emit deposit event sdkCtx.EventManager().EmitEvent(event) - // if the deposit is failed, initate a withdrawal + // if the deposit is failed, initiate a withdrawal if !depositSuccess || !hookSuccess { if depositSuccess { // reclaim and burn coins