Skip to content

Commit

Permalink
Add flags for GetBlockProof
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Jul 1, 2024
1 parent c3d8bb6 commit 480b758
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions liteapi/src/tl/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ pub struct GetBlockProof {
pub known_block: BlockIdExt,
#[tl(flags_bit = "mode.0")]
pub target_block: Option<BlockIdExt>,
#[tl(flags_bit = "mode.1")]
pub allow_weak_target: Option<()>,
#[tl(flags_bit = "mode.12")]
pub base_block_from_request: Option<()>,
}

#[derive(TlRead, TlWrite, Derivative)]
Expand Down

0 comments on commit 480b758

Please sign in to comment.