Skip to content

Commit

Permalink
fix getbalance method
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-volz committed Oct 9, 2023
1 parent 48e689b commit f53386f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defichain/node/modules/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f53386f

Please sign in to comment.