Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Delete leftover print statement in select_greedy #222

Merged
merged 1 commit into from
Sep 7, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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