mempoolco / spruned

A Bitcoin-without-Blockchain client w/ RPC that can fetch any block or transaction
MIT License
170 stars 35 forks source link

issue:test get_chunk fail #51

Closed mhitcher closed 6 years ago

mhitcher commented 6 years ago

https://github.com/gdassori/spruned/blob/aacff7a30c9b834c35700d2d908befac4fc8bbdb/spruned/daemon/electrod/electrod_connection.py#L199

https://github.com/gdassori/spruned/blob/aacff7a30c9b834c35700d2d908befac4fc8bbdb/spruned/daemon/electrod/electrod_interface.py#L125

doesn't handle correctly the None result and FAIL the test.

gdassori commented 6 years ago

tests was broken due peer propagation to the reactor. peers propagation is needed to make the reactor to track peers errors.

fixed in commit 3bf464cdd2652ce75916a0a302425b186442ca71