From: Damyan Ivanov Date: Sun, 14 Jun 2020 06:21:22 +0000 (+0300) Subject: add transaction level comment when calculating transaction hash X-Git-Tag: v0.14.0~32 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=69ced96a5bafb6cbc81245e6f10fca0ed8e5515c;p=mobile-ledger.git add transaction level comment when calculating transaction hash --- 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) {