Transaction: include transaction date in the hash
[mobile-ledger.git] / 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');