Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txprepare: don't crash on unconfirmed utxos #3534

Merged
merged 3 commits into from
Feb 21, 2020

Conversation

darosior
Copy link
Collaborator

@darosior darosior commented Feb 17, 2020

fixes #3533.

Maybe we could allow unconfirmed utxos ?

Changelog-added: `txprepare` doesn't crash lightningd anymore if you pass unconfirmed utxos
@niftynei
Copy link
Collaborator

ACK fbf114d

Copy link
Member

@cdecker cdecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fbf114d

Comment on lines +370 to +371
utxos = [utxo["txid"] + ":" + str(utxo["output"])
for utxo in l1.rpc.listfunds()["outputs"]][:4]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't break list-comprehensions across multiple lines. It usually is a sign that a loop should be used instead.

@cdecker cdecker merged commit 230cebf into ElementsProject:master Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lightning-cli txprepare with a particular syntax provokes FATAL SIGNAL 11
3 participants