-
Notifications
You must be signed in to change notification settings - Fork 354
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
chore(examples): make change descriptor optional on example_wallet_rpc #1865
chore(examples): make change descriptor optional on example_wallet_rpc #1865
Conversation
CI failures are unrelated. Not sure about doing the same for the other examples as they require no interaction and have both descriptors hard-coded. |
ea55d4c
to
e81e048
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.
ACK e81e048
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.
tACK e81e048
e81e048
to
449576b
Compare
Sorry @luisschwab, wasn't expecting to get blocked again by CI. |
449576b
to
f7e49e6
Compare
I guess this will have to wait until we bump to 1.75.0 |
@luisschwab CI should be fixed |
f7e49e6
to
78ca4b0
Compare
@ValuedMammal CI is passing again |
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.
ACK 78ca4b0
Description
This PR makes passing a
CHANGE_DESCRIPTOR
optional onexample_wallet_rpc
, as per #1533.Notes to the reviewers
Before instantiating a
Wallet
it checks ifargs.change_descriptor
is Some. If true callsWallet::create
, else callsWallet::create_single
.All Submissions:
cargo fmt
andcargo clippy
before committing