Skip to content

Commit

Permalink
Use NewSlotID
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Sep 13, 2024
1 parent 9842508 commit 2362e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/eigenState/avsOperators/avsOperators.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func (a *AvsOperatorsModel) sortValuesForMerkleTree(diffs []*RegisteredAvsOperat
inputs := make([]*base.MerkleTreeInput, 0)
for _, diff := range diffs {
inputs = append(inputs, &base.MerkleTreeInput{
SlotID: types.SlotID(fmt.Sprintf("%s_%s", diff.Avs, diff.Operator)),
SlotID: NewSlotID(diff.Avs, diff.Operator),
Value: []byte(fmt.Sprintf("%t", diff.Registered)),
})
}
Expand Down

0 comments on commit 2362e62

Please sign in to comment.