forked from cerc-io/plugeth
a9dfac0332
This improves readability of function 'push'. sort.Search(N, ...) will at most return N when no match, so ix should be compared with N. The previous version would compare ix with N+1 in case an additional item was appended. No bug resulted from this comparison, but it's not easy to understand why. Co-authored-by: Felix Lange <fjl@twurst.com> |
||
---|---|---|
.. | ||
v4wire | ||
v5wire | ||
common.go | ||
lookup.go | ||
node.go | ||
ntp.go | ||
table_test.go | ||
table_util_test.go | ||
table.go | ||
v4_lookup_test.go | ||
v4_udp_test.go | ||
v4_udp.go | ||
v5_udp_test.go | ||
v5_udp.go |