1
0

fee ui - rounding: display info icon with tooltip. show pre-rounding values in ui.

This commit is contained in:
SomberNight
2018-01-03 18:08:10 +01:00
parent 012a636fab
commit 7033125186
7 changed files with 96 additions and 18 deletions

View File

@@ -273,6 +273,8 @@ class CoinChooserRandom(CoinChooserBase):
candidates.add(tuple(sorted(permutation[:count + 1])))
break
else:
# FIXME this assumes that the effective value of any bkt is >= 0
# we should make sure not to choose buckets with <= 0 eff. val.
raise NotEnoughFunds()
candidates = [[buckets[n] for n in c] for c in candidates]