Skip to content

Commit 691ffcb

Browse files
committed
fix: use base64 fro hashes in block info
1 parent a86343d commit 691ffcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/toncenter_v3/models.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ pub struct Block {
338338
pub prev_key_block_seqno: u32,
339339
pub vert_seqno: u32,
340340
pub master_ref_seqno: u32,
341+
#[serde(with = "serde_helpers::tonlib_hash")]
341342
pub rand_seed: HashBytes,
343+
#[serde(with = "serde_helpers::tonlib_hash")]
342344
pub created_by: HashBytes,
343345
pub tx_count: u32,
344346
pub masterchain_block_ref: BlockRef,

0 commit comments

Comments
 (0)