Skip to content

Support older bitcoin version in a backwards compatible way#28

Open
stevenroose wants to merge 2 commits into
Kixunil:masterfrom
stevenroose:bitcoin-dep
Open

Support older bitcoin version in a backwards compatible way#28
stevenroose wants to merge 2 commits into
Kixunil:masterfrom
stevenroose:bitcoin-dep

Conversation

@stevenroose
Copy link
Copy Markdown

@stevenroose stevenroose commented Jun 27, 2025

I would have renamed the Address variant to AddressParse but that would be backwards incompatible.

Comment thread src/de.rs
#[cfg(any(bitcoin_0_31, bitcoin_0_32))]
Address(bitcoin::address::ParseError),
#[cfg(bitcoin_0_31)]
AddressNetwork(bitcoin::address::Error),
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This one is the result of the require_version check only in v0.31.x

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.

1 participant