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

Fix fundchannel in deprecated-apis=false mode ('satoshi' param in fundchannel_start) #3615

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

darosior
Copy link
Contributor

@darosior darosior commented Apr 2, 2020

Noticed while testing #3611 49e2153 kept satoshi but did not make fundchannel_start accept it again.

Note that we run the functional tests with deprecated-apis=false so we did not catch this, but users run with deprecated-apis=true..

@darosior darosior requested a review from cdecker as a code owner April 2, 2020 12:11
@darosior darosior changed the title Fix fundchannel in deprecated-apis mode ('satoshi' param in fundchannel_start) Fix fundchannel in deprecated-apis=false mode ('satoshi' param in fundchannel_start) Apr 2, 2020
@darosior
Copy link
Contributor Author

darosior commented Apr 2, 2020

Note that we run the functional tests with deprecated-apis=false so we did not catch this, but users run with deprecated-apis=true..

Cf #3616

@rustyrussell
Copy link
Contributor

No, it was the output parameter satoshi we can't deprecate. I definitely meant to deprecate the input.

Was there a reason to defer this?

@darosior
Copy link
Contributor Author

darosior commented Apr 3, 2020

Ah, ok then it becomes way simpler :-) Amended the commit.

@cdecker
Copy link
Member

cdecker commented Apr 6, 2020

ACK eced481

@cdecker
Copy link
Member

cdecker commented Apr 6, 2020

Notice that the help text in the json command further down still mentions satoshi (wrongfully since the param was always called amount). I'll add that to my cleanups for this weak.

@cdecker cdecker merged commit b8262c3 into ElementsProject:master Apr 6, 2020
@darosior darosior deleted the fundchannel_fix branch April 6, 2020 09:58
@darosior
Copy link
Contributor Author

darosior commented Apr 6, 2020

Notice that the help text in the json command further down still mentions satoshi (wrongfully since the param was always called amount). I'll add that to my cleanups for this weak.

Thanks

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.

3 participants