diff --git a/liteapi/src/tl/common.rs b/liteapi/src/tl/common.rs index 39c455d..f2da238 100644 --- a/liteapi/src/tl/common.rs +++ b/liteapi/src/tl/common.rs @@ -81,7 +81,7 @@ pub struct BlockId { /// tonNode.blockIdExt workchain:int shard:long seqno:int root_hash:int256 file_hash:int256 = tonNode.BlockIdExt; #[derive(TlRead, TlWrite, Derivative)] -#[derivative(Debug, Clone, PartialEq)] +#[derivative(Debug, Clone, PartialEq, Eq, Hash)] pub struct BlockIdExt { pub workchain: i32, pub shard: u64, @@ -189,4 +189,4 @@ pub struct TransactionId { pub lt: Option, #[tl(flags_bit = "mode.2")] pub hash: Option, -} \ No newline at end of file +}