don't hide uploaded blocks if we have no peers
parent
0d58d57467
commit
6738eaf222
|
@ -57,6 +57,8 @@ 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)
|
||||
|
|
Loading…
Reference in New Issue