1
0

change default value of confirmed_only, spending unconfirmed coins

This commit is contained in:
ThomasV
2017-08-08 06:03:47 +02:00
parent a13581e6db
commit 08fab753e8
3 changed files with 3 additions and 3 deletions

View File

@@ -536,7 +536,7 @@ class Abstract_Wallet(PrintError):
return c, u, x
def get_spendable_coins(self, domain, config):
confirmed_only = config.get('confirmed_only', True)
confirmed_only = config.get('confirmed_only', False)
return self.get_utxos(domain, exclude_frozen=True, mature=True, confirmed_only=confirmed_only)
def get_utxos(self, domain = None, exclude_frozen = False, mature = False, confirmed_only = False):