-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
rpcclient: serialize nil inputs to empty list #1558
rpcclient: serialize nil inputs to empty list #1558
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@torkelrogstad I think this deserves an update to the docs of:
CreateRawTransaction
CreateRawTransactionAsync
btcjson.NewCreateRawTransactionCmd
Something like this:
// If the value of inputs is nil, it will be interpreted as an empty slice.
What do you think?
4811306
to
126ee73
Compare
Pushed some doc tweaks 👍 |
126ee73
to
27bf300
Compare
@torkelrogstad CI is not happy. 🔴 |
Seems like I was a bit trigger happy with pushing! Missed a |
27bf300
to
42556b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. 👍
We might have to update this branch from master to get rid of the travis health check |
@jakesyl At least on my PRs, rebasing on latest master doesn't get rid of the check. I think it applies to all PRs created before TravisCI was removed. Or perhaps, there are some settings on GitHub/TravisCI that need to be updated. |
I think @Roasbeef might have to remove the check |
I rebased this right before the weekend, without it removing the Travis check. |
In #1575 the |
Should be good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Prior to this, calling
CreateRawTransaction(nil, ...)
failed. We fix this, and add a test for the serialization.