diff --git a/x/ccv/provider/ibc_middleware.go b/x/ccv/provider/ibc_middleware.go index fb4d96890f..fa41d67175 100644 --- a/x/ccv/provider/ibc_middleware.go +++ b/x/ccv/provider/ibc_middleware.go @@ -120,7 +120,7 @@ func (im IBCMiddleware) OnRecvPacket( // we know that the IBC transfer succeeded. That entails // that the packet data is valid and can be safely // deserialized without checking errors. - if ack.Success() { + if ack == nil { // execute the middleware logic only if the sender is a consumer chain consumerID, err := im.keeper.IdentifyConsumerChainIDFromIBCPacket(ctx, packet) if err != nil {