fix insert queue removal not using json mode

master
Kevin Froman 2020-01-06 18:40:44 -06:00
parent 27ef1d9ce4
commit 2e31155a5d
1 changed files with 2 additions and 1 deletions

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