]> git.ktnx.net Git - mobile-ledger.git/commitdiff
Transaction: include transaction date in the hash
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 18:52:33 +0000 (18:52 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 18:52:33 +0000 (18:52 +0000)
!?

app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java

index 8e6f2bf6b1eb91735aaab24865eced5ed0a97c36..7b63a59a3ef6c8839df40b8ff5abfe5a8051cae7 100644 (file)
@@ -102,6 +102,8 @@ public class LedgerTransaction {
             data.append('\0');
             data.append(getDescription());
             data.append('\0');
+            data.append(Globals.formatLedgerDate(getDate()));
+            data.append('\0');
             for (LedgerTransactionAccount item : accounts) {
                 data.append(item.getAccountName());
                 data.append('\0');