Move case firstTransaction in case their is no previous Transaction.

This commit is contained in:
ogerly 2022-02-07 11:44:32 +01:00 committed by elweyn
parent e22c701c88
commit 111894bc3e

View File

@ -103,9 +103,9 @@ async function calculateAndAddDecayTransactions(
decayStartTransaction.received.getTime() / 1000
).toString()
}
} else {
finalTransaction.firstTransaction = true
}
} else {
finalTransaction.firstTransaction = true
}
// sender or receiver when user has sent money