sociomantic-tsunami / swarm

Asynchronous client/node framework library
Boost Software License 1.0
14 stars 26 forks source link

Verify that neo client config instance is non-null before using it #366

Closed joseph-wakeling-sociomantic closed 5 years ago

joseph-wakeling-sociomantic commented 5 years ago

This patch adds a small but useful sanity check to the constructor for neo client support. This should ensure that failure to instantiate the neo client config class properly results in an informative exception and error message rather than a segfault.

gavin-norman-sociomantic commented 5 years ago

Merci!