Skip to content

Conversation

@dusty-wil
Copy link
Contributor

Addresses issue #11462 by updating the documentation for the importprivkey arguments to the correct names, and updates the functional test importprunedfunds.py to use named arguments when calling importprivkey.

@promag
Copy link
Contributor

promag commented Oct 9, 2017

IMO remove 2nd commit.

@maflcko
Copy link
Member

maflcko commented Oct 9, 2017 via email

@maflcko
Copy link
Member

maflcko commented Oct 9, 2017

@promag It nicely proves that the documentation now matches the named args

@promag
Copy link
Contributor

promag commented Oct 9, 2017

The first commit does what the PR title states. No need to change the test to use named arguments. This is obviously my opinion!

@promag
Copy link
Contributor

promag commented Oct 9, 2017

No, the test does not prove that, to prove that we should assert the documentation string.

Again consider my comment above a nit.

@promag
Copy link
Contributor

promag commented Oct 9, 2017

There must be a test to assert argument order too :) (although that is probably in other tests).

@dusty-wil
Copy link
Contributor Author

@MarcoFalke @promag I can remove the second commit if you'd prefer! Is there a neat way to do that through github or do I need to re-commit with the changes?

@promag
Copy link
Contributor

promag commented Oct 9, 2017

For reference, this was missed in #8811 (9adb4e1).

@dusty-wil to remove the commit you must push again. But do not remove it now, wait for more comments.

@maflcko
Copy link
Member

maflcko commented Oct 9, 2017

Fixes bitcoin#11462. Updated documentation for importprivkey function to use the correct name for the first argument.
Also updates a call to importprivkey to use named args in functional test.
@dusty-wil
Copy link
Contributor Author

@MarcoFalke ok, squashed!

@laanwj
Copy link
Member

laanwj commented Oct 9, 2017

utACK aa57590

@fanquake
Copy link
Member

fanquake commented Oct 9, 2017

utACK aa57590

1 similar comment
@maflcko
Copy link
Member

maflcko commented Oct 9, 2017

utACK aa57590

@maflcko maflcko merged commit aa57590 into bitcoin:master Oct 9, 2017
maflcko pushed a commit that referenced this pull request Oct 9, 2017
aa57590 Update importprivkey named args documentation (Dusty Williams)

Pull request description:

  Addresses issue #11462 by updating the documentation for the importprivkey arguments to the correct names, and updates the functional test importprunedfunds.py to use named arguments when calling importprivkey.

Tree-SHA512: 64e14bf89c8c6eec9c37f6ec0c9fc0012fdb035d9ec32cd652110c75abaa922ec5c7523d6ec5098c8a7b42124159b5e330e070974eb79b8b92816f8d61074523
@dusty-wil
Copy link
Contributor Author

Thanks for the opportunity to contribute!

maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Oct 9, 2017
Fixes bitcoin#11462. Updated documentation for importprivkey function to use the correct name for the first argument.
Also updates a call to importprivkey to use named args in functional test.

Github-Pull: bitcoin#11465
Rebased-From: aa57590
codablock pushed a commit to codablock/dash that referenced this pull request Sep 25, 2019
…rivkey

aa57590 Update importprivkey named args documentation (Dusty Williams)

Pull request description:

  Addresses issue bitcoin#11462 by updating the documentation for the importprivkey arguments to the correct names, and updates the functional test importprunedfunds.py to use named arguments when calling importprivkey.

Tree-SHA512: 64e14bf89c8c6eec9c37f6ec0c9fc0012fdb035d9ec32cd652110c75abaa922ec5c7523d6ec5098c8a7b42124159b5e330e070974eb79b8b92816f8d61074523
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants