follow-up previous commit
This commit is contained in:
parent
50587c7a24
commit
0bc777a10c
|
@ -901,7 +901,7 @@ class Abstract_Wallet(PrintError):
|
||||||
fee = self.estimate_fee(config, tx.estimated_size())
|
fee = self.estimate_fee(config, tx.estimated_size())
|
||||||
|
|
||||||
if total - fee < 0:
|
if total - fee < 0:
|
||||||
raise BaseException(_('Not enough funds on address.') + '\nTotal: %d satoshis\nFee: %d\nDust Threshold: %d'%(total, fee))
|
raise BaseException(_('Not enough funds on address.') + '\nTotal: %d satoshis\nFee: %d'%(total, fee))
|
||||||
|
|
||||||
if total - fee < self.dust_threshold():
|
if total - fee < self.dust_threshold():
|
||||||
raise BaseException(_('Not enough funds on address.') + '\nTotal: %d satoshis\nFee: %d\nDust Threshold: %d'%(total, fee, self.dust_threshold()))
|
raise BaseException(_('Not enough funds on address.') + '\nTotal: %d satoshis\nFee: %d\nDust Threshold: %d'%(total, fee, self.dust_threshold()))
|
||||||
|
|
Loading…
Reference in New Issue