Skip to content

Commit

Permalink
addressed review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh committed Dec 26, 2024
1 parent 0da947f commit e32c36a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions beacon_chain/spec/peerdas_helpers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func handle_custody_groups(node_id: NodeId,
if current_id == UInt256.high.NodeId:
# Overflow prevention
current_id = NodeId(StUint[256].zero)
current_id += NodeId(StUint[256].one)
inc current_id

custody_groups

Expand All @@ -131,8 +131,7 @@ func get_custody_groups*(node_id: NodeId,
let custody_groups =
node_id.handle_custody_groups(custody_group_count)

var groups: seq[CustodyIndex]
groups = custody_groups.toSeq()
var groups = custody_groups.toSeq()
groups.sort()
groups

Expand Down

0 comments on commit e32c36a

Please sign in to comment.