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 fixes #3384

Merged
merged 3 commits into from
Jan 27, 2020
Merged

Conversation

niftynei
Copy link
Collaborator

Fixes two crashes/bugs I found in txprepare:

  1. using txprepare in keywords mode in pyln-client would crash (fails an check for what version of the API you're using)
  2. crash when attempting to specify more than two outputs

add test for empty args check
adds (currently failing test) for a txprepare with more than two outputs
@niftynei niftynei added the bug label Dec 30, 2019
@niftynei niftynei added this to the 0.8.1 milestone Dec 30, 2019
The number of outputs got updated, but the map used to calculate the
change output's location did not (still assumes only one output). This
patch fixes this to make the output map a variable size.

Changelog-Fixed: JSON API: `txprepare` no longer crashes when more than two outputs are specified
@cdecker
Copy link
Member

cdecker commented Jan 27, 2020

ACK 7f59865

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

Successfully merging this pull request may close these issues.

2 participants