Skip to content

Commit

Permalink
Merge pull request JoinMarket-Org#222 from adlai/patch-1 [yapf]
Browse files Browse the repository at this point in the history
Delete leftover print statement in select_greedy
  • Loading branch information
chris-belcher committed Sep 7, 2015
2 parents cd25bfb + 2b79049 commit 73aa993
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def select_greedy(unspent, value):
high = sorted([u for u in unspent if key(u) >= value], key=key)
low = sorted([u for u in unspent if key(u) < value], key=key)
lowsum = reduce(lambda x, y: x + y, map(key, low), 0)
print((high, low, lowsum))
if value > lowsum:
if len(high) == 0:
raise Exception('Not enough funds')
Expand Down

0 comments on commit 73aa993

Please sign in to comment.