Closed muenzel closed 6 years ago
If I am doing this the other way around (debit 99.8 and credit 99.9), I get the error:
Journal is invalid. Total is: 0.10000000000000853 (node:2018) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: INVALID_JOURNAL
Maybe a missing abs() in the boundary check function?
Don't have any time today. Would attempt to fix on Monday.
Fixed and published as v1.0.3
Thanks again!
I have the following code
which leads to a valid journal entry instead of raising an INVALID JOURNAL exception, as expected.