Closed shivamlmnl closed 6 months ago
This fixed my BCH electrum node that was crashing
Thanks a lot for the report. The proposed fix was insufficient as features.get('hosts')
can have invalid values other than None
, e.g. some positive integer.
I've added more generic protection in https://github.com/spesmilo/electrumx/commit/97a016c9ca9d49b3e5b22a66fd6caab537879340.
Fixes the hosts being returned as None. I haven't determined the underlying cause but this fixes it.
Error: