mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
Make Specter work with Bitcoin Core 28.0 (#2480)
This commit is contained in:
parent
0ac4640a3f
commit
2494aad537
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ class BitcoinRPC:
|
|||
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 RpcError(
|
||||
f"Request error for method {method}{args}: {r['error']['message']}",
|
||||
r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue