fix insert queue removal not using json mode

This commit is contained in:
Kevin Froman 2020-01-06 18:40:44 -06:00
parent 27ef1d9ce4
commit 2e31155a5d

View File

@ -224,6 +224,7 @@ def insert_block(data: Union[str, bytes], header: str = 'txt',
localcommand.local_command, localcommand.local_command,
'/daemon-event/remove_from_insert_queue_wrapper', '/daemon-event/remove_from_insert_queue_wrapper',
post=True, post=True,
postData={'block_hash': retData} postData={'block_hash': retData},
is_json=True
).get(timeout=5) ).get(timeout=5)
return retData return retData