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

Update deps (bitcoin 0.32, bitcoincore-rpc 0.19, corepc-node 0.5) #1

Merged

Conversation

Ash-L2L
Copy link
Contributor

@Ash-L2L Ash-L2L commented Jan 21, 2025

No description provided.

let bitcoind = BitcoinD::with_conf(downloaded_exe_path().unwrap(), &conf).unwrap();
let address = bitcoind.client.get_new_address(None, None).unwrap();
let bitcoind = Node::with_conf(downloaded_exe_path().unwrap(), &conf).unwrap();
let address = bitcoind.client.new_address_with_label("").unwrap();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can just use new_address here and remove the next line checking it.

Copy link
Owner

@andrewtoth andrewtoth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andrewtoth andrewtoth merged commit 7a3ad04 into andrewtoth:master Feb 1, 2025
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.

2 participants