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 committed Jan 30, 2021
1 parent d7502df commit 116ef60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bitcoin-bech32"
version = "0.11.0"
version = "0.11.1"
authors = ["Clark Moody"]
repository = "https://github.com/rust-bitcoin/rust-bech32-bitcoin"
description = "Encodes and decodes Bitcoin Segregated Witness addresses in Bech32"
Expand All @@ -14,4 +14,4 @@ license = "MIT"
strict = []

[dependencies]
bech32 = "0.7.1"
bech32 = "0.7.3"
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -233,7 +233,7 @@ impl FromStr for WitnessProgram {
///
/// 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 116ef60

Please sign in to comment.