fix insert queue removal not using json mode
parent
27ef1d9ce4
commit
2e31155a5d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue