Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gpsanant committed Oct 20, 2024
1 parent 9ac4f86 commit 2b6b2f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type SubmittedDistributionRoots struct {
}

func NewSlotID(rootIndex uint64, root string) types.SlotID {
return types.SlotID(fmt.Sprintf("%s_%d", rootIndex, root))
return types.SlotID(fmt.Sprintf("%d_%s", rootIndex, root))
}

type SubmittedDistributionRootsBaseModel struct {
Expand Down

0 comments on commit 2b6b2f0

Please sign in to comment.