]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add transaction level comment when calculating transaction hash
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 14 Jun 2020 06:21:22 +0000 (09:21 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 14 Jun 2020 06:21:22 +0000 (09:21 +0300)
app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java

index 4e7ce33ef3750a3de28ce38662d8728ba6852edd..db5bbc7bf584286c2aac1de0e578e2c7e3771192 100644 (file)
@@ -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) {