From a18d590934e0db92d545c0b14efd9a7d75d3464c Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul Date: Tue, 18 Apr 2023 13:28:03 +0700 Subject: [PATCH] add block_time for MsgAck --- hooks/emitter/channel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/emitter/channel.go b/hooks/emitter/channel.go index 0bef25ac3..2705ccb93 100644 --- a/hooks/emitter/channel.go +++ b/hooks/emitter/channel.go @@ -81,6 +81,7 @@ func (h *Hook) handleMsgAcknowledgement(ctx sdk.Context, msg *types.MsgAcknowled "src_channel": msg.Packet.SourceChannel, "src_port": msg.Packet.SourcePort, "sequence": msg.Packet.Sequence, + "block_time": ctx.BlockTime().UnixNano(), } var data ibcxfertypes.FungibleTokenPacketData err := ibcxfertypes.ModuleCdc.UnmarshalJSON(msg.Packet.GetData(), &data)