NethermindEth / juno

Starknet client implementation.
https://juno.nethermind.io
Apache License 2.0
402 stars 170 forks source link

Remove repeated close host call #2147

Closed weiihann closed 2 months ago

weiihann commented 2 months ago

The previous line already does defer s.host.Close(), so there's no need to do return s.host.Close() again.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.38%. Comparing base (f3c885f) to head (988bfe7). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2147 +/- ## ======================================= Coverage 78.38% 78.38% ======================================= Files 100 100 Lines 9220 9220 ======================================= Hits 7227 7227 Misses 1354 1354 Partials 639 639 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.