Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core-p2p): avoid iterating on non-iterable peerBlocks
If peerBlocks is falsy, then "for (const block of peerBlocks) {" would throw an exception that peerBlocks is not iterable.
- Loading branch information