vacp2p / mvds

Minimal Viable Data Sync Implementation
https://specs.vac.dev/specs/mvds.html
MIT License
13 stars 3 forks source link

Don't retun error on removing state when receiving messages #73

Closed cammellos closed 5 years ago

cammellos commented 5 years ago

When receiving messages the state for the message is removed. If no state is found an error was thrown. This should not cause an error as that's an ok scenario. Also changes the parsing of the flags from init to a custom method, as I bumped in this issue https://github.com/golang/go/issues/31859