stauts fix'd

This commit is contained in:
2025-04-16 07:03:31 -04:00
parent 1530d3b3f2
commit 8248198ed6
2 changed files with 4 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ def push_transactions_to_willexecutor(willexecutor):
try:
_logger.debug(f"willexecutor['txs']")
if w:=send_request('post', willexecutor['url']+"/"+constants.net.NET_NAME+"/pushtxs", data=willexecutor['txs'].encode('ascii')):
willexecutor['broadcast_stauts'] = _("Success")
willexecutor['broadcast_status'] = _("Success")
_logger.debug(f"pushed: {w}")
if w !='thx':
_logger.debug(f"error: {w}")
@@ -145,7 +145,7 @@ def push_transactions_to_willexecutor(willexecutor):
if str(e) == "already present":
raise AlreadyPresentException()
out=False
willexecutor['broadcast_stauts'] = _("Failed")
willexecutor['broadcast_status'] = _("Failed")
return out