* Revert back to hiding blocks even when we have no outgoing connections

* ensure that block is hidden in public list in insert test
This commit is contained in:
Kevin 2020-06-29 02:29:55 -05:00
parent 1aa707cea5
commit 25485e6aa4
2 changed files with 4 additions and 3 deletions

View file

@ -57,8 +57,6 @@ def daemon_event_handlers(shared_state: 'TooMany'):
def upload_event(block: 'BlockHash' = ''):
if not block:
raise ValueError
if not comm_inst.onlinePeers:
return
public_api.hideBlocks.append(block)
try:
mixmate.block_mixer(comm_inst.blocksToUpload, block)