From 4954fbad9949fed82a3022843bf0b4b352272c31 Mon Sep 17 00:00:00 2001 From: h6x0r Date: Sun, 18 Aug 2024 19:56:10 +0500 Subject: [PATCH] minor tweaks --- cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java | 2 +- cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java index ae767ba6..a61cb452 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java @@ -40,7 +40,7 @@ public Cell toCell() { return CellBuilder.beginCell() .storeUint(0xcca5, 32) .storeBit(keyBlock) - .storeDict(shardHashes.toCell()) + .storeCell(shardHashes.toCell()) // .storeCell(shardFees.toCell()) .storeDict(shardFees.serialize( k -> CellBuilder.beginCell().storeUint((Long) k, 96).endCell().getBits(), diff --git a/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java b/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java index f5089a17..dad44e28 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java @@ -42,7 +42,7 @@ private String getMagic() { public Cell toCell() { return CellBuilder.beginCell() .storeUint(0xcc26, 16) - .storeDict(shardHashes.toCell()) + .storeCell(shardHashes.toCell()) .storeCell(configParams.toCell()) .storeRef(info.toCell()) .storeCell(globalBalance.toCell())