Skip to content

Commit

Permalink
Update x/crosschain/keeper/outbound_tracker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Charlie Chen <[email protected]>
  • Loading branch information
lumtis and ws4charlie authored May 20, 2024
1 parent ca1958a commit fb0e0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/crosschain/keeper/outbound_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func getOutboundTrackerIndex(chainID int64, nonce uint64) string {
return fmt.Sprintf("%d-%d", chainID, nonce)
}

// SetOutboundTracker set a specific outTxTracker in the store from its index
// SetOutboundTracker set a specific outbound tracker in the store from its index
func (k Keeper) SetOutboundTracker(ctx sdk.Context, outTxTracker types.OutboundTracker) {
outTxTracker.Index = getOutboundTrackerIndex(outTxTracker.ChainId, outTxTracker.Nonce)
store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.OutboundTrackerKeyPrefix))
Expand Down

0 comments on commit fb0e0ef

Please sign in to comment.