From 11dac5a5216a5c2a81d89956535ec132ab071c5b Mon Sep 17 00:00:00 2001 From: neodiX Date: Fri, 6 Dec 2024 11:18:47 +0400 Subject: [PATCH] minor big fix --- .../main/java/org/ton/java/tlb/types/Transaction.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cell/src/main/java/org/ton/java/tlb/types/Transaction.java b/cell/src/main/java/org/ton/java/tlb/types/Transaction.java index 5fe4fc02..c2b1ac67 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Transaction.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Transaction.java @@ -11,7 +11,6 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMapE; -import org.ton.java.utils.Utils; /** * @@ -53,7 +52,7 @@ public class Transaction { HashUpdate stateUpdate; TransactionDescription description; - String hash; // not in tl-b scheme. equals to in_msg.hash in base64 - TODO testing + String hash; // not used private String getMagic() { return Long.toBinaryString(magic); @@ -128,9 +127,9 @@ public static Transaction deserialize(CellSlice cs) { tx.setTotalFees(CurrencyCollection.deserialize(cs)); tx.setStateUpdate(HashUpdate.deserialize(CellSlice.beginParse(cs.loadRef()))); tx.setDescription(TransactionDescription.deserialize(CellSlice.beginParse(cs.loadRef()))); - if (nonNull(msg)) { - tx.setHash(Utils.bytesToBase64(msg.toCell().getHash())); - } + // if (nonNull(msg)) { + // tx.setHash(Utils.bytesToBase64(msg.toCell().getHash())); + // } return tx; }