Describe the bug
The DeadlineFilter will always take a rejectWithdrawal (default 5000) amount of tokens, while only restoring serviceDeposit (default 1000 tokens), in case rejection is not required.
Expected behavior
Tokens get only withdrawn when the deadline is truly passed, as it was before the Traceability PR.
Describe the bug The DeadlineFilter will always take a
rejectWithdrawal
(default 5000) amount of tokens, while only restoringserviceDeposit
(default 1000 tokens), in case rejection is not required.Expected behavior Tokens get only withdrawn when the deadline is truly passed, as it was before the Traceability PR.
Additional context https://github.com/twitter/finagle/blob/develop/finagle-core/src/main/scala/com/twitter/finagle/service/DeadlineFilter.scala#L283