Anuar Serdaliyev f14871caf7
accounting: Correct exitcode on Transfer Limit Exceeded flag. Fixes #3203
Before this change the exit code for transfer limit exceeded was
incorrect. This was because the `resolveExitCode` function unwraps the
error thus reading the underlying error which is not the same as the
error it was comparing to (`ErrorMaxTransferLimitReached`).

This change fixes it by splitting the error definition in two so that
when the Fatal error is unwrapped we match against
`ErrorMaxTransferLimitReached` however when we return the error we
return `ErrorMaxTransferLimitReachedFatal`.
2020-03-10 12:00:10 +00:00
..
2019-12-10 12:12:29 +00:00
2019-11-18 14:13:02 +00:00
2018-08-21 10:58:59 +01:00
2019-06-19 11:59:46 +01:00
2019-02-07 16:42:26 +00:00
2019-06-19 11:59:46 +01:00
2019-04-30 14:12:18 +02:00
2020-02-01 12:32:21 +00:00