Skip to content

Commit

Permalink
impl Hash for Int256
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya authored May 3, 2024
1 parent 3059856 commit 3d1889b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteapi/src/tl/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl String {

/// int256 8*[ int ] = Int256;
#[derive(TlRead, TlWrite, Derivative)]
#[derivative(Debug, Clone, PartialEq, Eq, Default)]
#[derivative(Debug, Clone, PartialEq, Eq, Default, Hash)]
pub struct Int256(#[derivative(Debug(format_with = "fmt_bytes"))] pub [u8; 32]);

impl FromStr for Int256 {
Expand Down

0 comments on commit 3d1889b

Please sign in to comment.