Skip to content

fix: bug from closing the iterator twice

Codecov / codecov/patch succeeded Dec 17, 2024 in 0s

55.18% of diff hit (target 17.74%)

View this Pull Request on Codecov

55.18% of diff hit (target 17.74%)

Annotations

Check warning on line 110 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L106-L110

Added lines #L106 - L110 were not covered by tests

Check warning on line 117 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L113-L117

Added lines #L113 - L117 were not covered by tests

Check warning on line 124 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L123-L124

Added lines #L123 - L124 were not covered by tests

Check warning on line 136 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L135-L136

Added lines #L135 - L136 were not covered by tests

Check warning on line 165 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L143-L165

Added lines #L143 - L165 were not covered by tests

Check warning on line 189 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L167-L189

Added lines #L167 - L189 were not covered by tests

Check warning on line 200 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L191-L200

Added lines #L191 - L200 were not covered by tests

Check warning on line 205 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L202-L205

Added lines #L202 - L205 were not covered by tests

Check warning on line 209 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L207-L209

Added lines #L207 - L209 were not covered by tests

Check warning on line 213 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L211-L213

Added lines #L211 - L213 were not covered by tests

Check warning on line 235 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L235

Added line #L235 was not covered by tests

Check warning on line 239 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L239

Added line #L239 was not covered by tests

Check warning on line 246 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L245-L246

Added lines #L245 - L246 were not covered by tests

Check warning on line 249 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L249

Added line #L249 was not covered by tests

Check warning on line 308 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L303-L308

Added lines #L303 - L308 were not covered by tests

Check warning on line 345 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L341-L345

Added lines #L341 - L345 were not covered by tests

Check warning on line 59 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L41-L59

Added lines #L41 - L59 were not covered by tests

Check warning on line 141 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L137-L141

Added lines #L137 - L141 were not covered by tests

Check warning on line 94 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L86-L94

Added lines #L86 - L94 were not covered by tests

Check warning on line 102 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L96-L102

Added lines #L96 - L102 were not covered by tests

Check warning on line 105 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L105

Added line #L105 was not covered by tests

Check warning on line 110 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L110

Added line #L110 was not covered by tests

Check warning on line 115 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L115

Added line #L115 was not covered by tests

Check warning on line 137 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L134-L137

Added lines #L134 - L137 were not covered by tests

Check warning on line 142 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L142

Added line #L142 was not covered by tests