dust bug fix

This commit is contained in:
2026-02-09 11:58:07 -04:00
parent 2a4eab81fd
commit 0df6786f50
4 changed files with 108 additions and 44 deletions

View File

@@ -119,7 +119,7 @@ class Willexecutors:
def send_request(method, url, data=None, *, timeout=10):
network = Network.get_instance()
if not network:
raise ErrorConnectingServer("You are offline.")
raise Exception("You are offline.")
_logger.debug(f"<-- {method} {url} {data}")
headers = {}
headers["user-agent"] = f"BalPlugin v:{BalPlugin.version()}"
@@ -171,7 +171,7 @@ class Willexecutors:
out = True
try:
_logger.debug(f"willexecutor['txs']")
_logger.debug(f"{willexecutor[url]}: {willexecutor['txs']}")
if w := Willexecutors.send_request(
"post",
willexecutor["url"] + "/" + constants.net.NET_NAME + "/pushtxs",