From 69ced96a5bafb6cbc81245e6f10fca0ed8e5515c Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 14 Jun 2020 09:21:22 +0300 Subject: [PATCH] add transaction level comment when calculating transaction hash --- .../java/net/ktnx/mobileledger/model/LedgerTransaction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java b/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java index 4e7ce33e..db5bbc7b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java @@ -132,6 +132,8 @@ public class LedgerTransaction { data.append('\0'); data.append(getDescription()); data.append('\0'); + data.append(getComment()); + data.append('\0'); data.append(Globals.formatLedgerDate(getDate())); data.append('\0'); for (LedgerTransactionAccount item : accounts) { -- 2.39.5