Don't assert invariants when printing status
- if it's broken you might appreciate being able to print it out
This commit is contained in:
1 parent
cb65a80dce
commit
2fbbb802bd
1 file changed
-2
@@ -324,8 +324,6 @@ type RangeInfo struct {
|
||||
}
|
||||
|
||||
func (r *Ring) AllRangeInfo() (result []RangeInfo) {
|
||||
r.assertInvariants()
|
||||
|
||||
for i, entry := range r.Entries {
|
||||
nextEntry := r.Entries.entry(i + 1)
|
||||
ranges := []address.Range{{Start: entry.Token, End: nextEntry.Token}}
|
||||
|
||||
Reference in new issue
Block a user