Skip to content

Commit

Permalink
Standard derives for error types
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored and clarkmoody committed Feb 23, 2021
1 parent 43a1ed1 commit be2fdf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin-bech32"
version = "0.12.0"
version = "0.12.1"
authors = ["Clark Moody"]
repository = "https://github.com/rust-bitcoin/rust-bech32-bitcoin"
description = "Encodes and decodes Bitcoin Segregated Witness addresses in Bech32"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -248,7 +248,7 @@ fn program_version_to_variant(version: u5) -> Option<Variant> {
///
/// BIP141 specifies Segregated Witness and defines valid program lengths
/// for Version 0 scripts. Script version is also limited to values 0-16.
#[derive(PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
pub enum Error {
/// Some Bech32 conversion error
Bech32(bech32::Error),
Expand Down

0 comments on commit be2fdf4

Please sign in to comment.