Skip to content

Commit

Permalink
Delete leftover print statement in select_greedy
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai committed Sep 5, 2015
1 parent cd25bfb commit 2b79049
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 2b79049

Please sign in to comment.