Skip to content

Commit

Permalink
fix bitcoin core 28.0 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
moneymanolis committed Jan 3, 2025
1 parent 81cf99f commit fcbe81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptoadvance/spectrum/util_specter.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def trace_call_after(cls, url, payload, timestamp):
def __getattr__(self, method):
def fn(*args, **kwargs):
r = self.multi([(method, *args)], **kwargs)[0]
if r["error"] is not None:
if r.get("error") is not None:
raise Exception(
f"Request error for method {method}{args}: {r['error']['message']}",
r,
Expand Down

0 comments on commit fcbe81f

Please sign in to comment.