1
0

network: don't save negative ETA fee estimates

-1 means bitcoind could not give an estimate
This commit is contained in:
SomberNight
2018-10-09 12:03:38 +02:00
parent 508793b010
commit cc18f66793
3 changed files with 7 additions and 4 deletions

View File

@@ -77,7 +77,9 @@ def base_unit_name_to_decimal_point(unit_name: str) -> int:
raise UnknownBaseUnit(unit_name) from None
class NotEnoughFunds(Exception): pass
class NotEnoughFunds(Exception):
def __str__(self):
return _("Insufficient funds")
class NoDynamicFeeEstimates(Exception):