Skip to content

Commit

Permalink
Delete leftover print statement in select_greedy
Browse files Browse the repository at this point in the history
[gitreformat yapf-ify (github/ghtdak) on Fri Dec  4 04:51:22 2015]
[from commit: b4514aa]
  • Loading branch information
adlai committed Sep 5, 2015
1 parent b06b6ae commit 1346682
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 @@ -221,7 +221,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 1346682

Please sign in to comment.