Skip to content

Remove GenerateBlockError in v21-24#300

Merged
tcharding merged 1 commit into
rust-bitcoin:masterfrom
jamillambert:0616-remove-error
Jul 19, 2025
Merged

Remove GenerateBlockError in v21-24#300
tcharding merged 1 commit into
rust-bitcoin:masterfrom
jamillambert:0616-remove-error

Conversation

@jamillambert

Copy link
Copy Markdown
Collaborator

This only has one field and the error can be returned directly.

From v25 onwards there are 2 distinct types and the error enum has been left.

This only has one field and the error can be returned directly.

From v25 onwards there are 2 distinct types and the error enum has been
left.

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 925b5be

@tcharding tcharding merged commit 874b36a into rust-bitcoin:master Jul 19, 2025
30 checks passed
blaze-smith470pm added a commit to blaze-smith470pm/corepc that referenced this pull request Sep 26, 2025
925b5becee9451e1c80a501972839bdfe0e0afa9 Remove GenerateBlockError in v21-24 (Jamil Lambert, PhD)

Pull request description:

  This only has one field and the error can be returned directly.

  From v25 onwards there are 2 distinct types and the error enum has been left.

ACKs for top commit:
  tcharding:
    ACK 925b5becee9451e1c80a501972839bdfe0e0afa9

Tree-SHA512: ac01c730ef6f3d8f5be89370834e85b3c234c98d2ce10815cec8ebb0d2b975ee7f42522af877cbe9ba516c4b465e052f4e15ac019b7c27bcaef3c36591e77b6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants