From f53386f1d94349243b7b11f53cabdff636fe6750 Mon Sep 17 00:00:00 2001 From: eric-volz Date: Mon, 9 Oct 2023 17:28:52 +0200 Subject: [PATCH] fix getbalance method --- defichain/node/modules/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defichain/node/modules/wallet.py b/defichain/node/modules/wallet.py index f1762f5..9813fbe 100644 --- a/defichain/node/modules/wallet.py +++ b/defichain/node/modules/wallet.py @@ -352,7 +352,7 @@ def getaddressinfo(self, address: str) -> {}: # 11 """ return self._node._rpc.call("getaddressinfo", address) - def getbalance(self, dummy: str = "*", minconf: int = 0, include_watchonly: bool = True, avoid_reuse: bool = True, + def getbalance(self, dummy: str = "*", minconf: int = 0, include_watchonly: bool = True, avoid_reuse: bool = None, with_tokens: bool = False) -> {}: # 12 """ Returns the total available balance.