Commit 735674ed authored by Moul's avatar Moul

[fix] #239: money: remove already used inputs

- restore previous behaviour which haven’t been kept the same during the migration
- travel through pending, and among them remove already used from our list of
parent da527d74
......@@ -168,8 +168,8 @@ async def get_sources(pubkey):
# remove input already used
for input in listinput:
if input in pending_sources:
for input in pending_sources:
if input in listinput:
return listinput, amount
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment