Skip to content

Commit 6eef67e

Browse files
committed
fix column map bounds
1 parent 68b320a commit 6eef67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/spec/column_map.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ func `$`*(a: ColumnMap): string =
9797
"[" & a.items().toSeq().mapIt($it).join(", ") & "]"
9898

9999
func shortLog*(a: ColumnMap): string =
100-
if len(a) > NUMBER_OF_COLUMNS div 2:
100+
if len(a) >= NUMBER_OF_COLUMNS div 2:
101101
return "[supernode]"
102102
$a

0 commit comments

Comments
 (0)