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
  • Loading branch information
chris-belcher committed Sep 7, 2015
2 parents 6f3a98c + b4514aa commit d3b7ce5
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 @@ -204,7 +204,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 d3b7ce5

Please sign in to comment.