log what block is being uploaded by hash

This commit is contained in:
Kevin Froman 2019-08-12 18:49:16 -05:00
parent 56dc2e0ce7
commit 9601a3d072
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def upload_blocks_from_communicator(comm_inst):
url = 'http://' + peer + '/upload'
data = {'block': block.Block(bl).getRaw()}
proxyType = proxypicker.pick_proxy(peer)
logger.info("Uploading block to " + peer, terminal=True)
logger.info("Uploading block %s to %s" % (bl[:8], peer), terminal=True)
resp = basicrequests.do_post_request(url, data=data, proxyType=proxyType)
if not resp == False:
if resp == 'success':