Skip to content

Commit 2181b6e

Browse files
authored
feat(cosmrs): implement Hash for AccountId (#527)
1 parent a3e110b commit 2181b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosmrs/src/base/account_id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{fmt, str::FromStr};
55
use subtle_encoding::bech32;
66

77
/// Account identifiers
8-
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord)]
8+
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
99
pub struct AccountId {
1010
/// Account ID encoded as Bech32
1111
bech32: String,

0 commit comments

Comments
 (0)