Fix block downloading for shared state
This commit is contained in:
parent
78e533952c
commit
9f1f1435ce
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ def download_blocks_from_communicator(comm_inst: "OnionrCommunicatorDaemon"):
|
|||
logger.info(
|
||||
f"Attempting to download %s from {peerUsed}..." % (blockHash[:12],))
|
||||
content = peeraction.peer_action(
|
||||
comm_inst, peerUsed,
|
||||
comm_inst.shared_state, peerUsed,
|
||||
'getdata/' + blockHash,
|
||||
max_resp_size=3000000) # block content from random peer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue