Skip to content

Commit

Permalink
fix: string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking committed Feb 11, 2022
1 parent fd31079 commit 1c5e749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/apps/29-fee/keeper/escrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ func (k Keeper) EscrowPacketFee(ctx sdk.Context, identifiedFee types.IdentifiedP
// Store fee in state for reference later
k.SetFeeInEscrow(ctx, identifiedFee)

// Emit event so that relayers know a packet is ready to be relayed
// Emit event so that relayers know an incentivized packet is ready to be relayed
ctx.EventManager().EmitEvent(
sdk.NewEvent(
types.EventTypeSendIncentivizedPacket,
sdk.NewAttribute(channeltypes.AttributeKeyPortID, identifiedFee.PacketId.PortId),
sdk.NewAttribute(channeltypes.AttributeKeyChannelID, identifiedFee.PacketId.ChannelId),
sdk.NewAttribute(channeltypes.AttributeKeySequence, string(identifiedFee.PacketId.Sequence)),
sdk.NewAttribute(channeltypes.AttributeKeySequence, fmt.Sprint(identifiedFee.PacketId.Sequence)),
),
)

Expand Down

0 comments on commit 1c5e749

Please sign in to comment.