Skip to content

Commit

Permalink
Merge pull request JoinMarket-Org#222 from adlai/patch-1
Browse files Browse the repository at this point in the history
Delete leftover print statement in select_greedy
[gitreformat yapf-ify (github/ghtdak) on Fri Dec  4 04:51:22 2015]
[from commit: d3b7ce5]
  • Loading branch information
chris-belcher committed Sep 7, 2015
2 parents b06b6ae + 1346682 commit c64bbe9
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 c64bbe9

Please sign in to comment.