Skip to content

Commit

Permalink
add block_time for MsgAck
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerKSI committed Apr 18, 2023
1 parent dfd54e7 commit a18d590
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/emitter/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a18d590

Please sign in to comment.