File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ async fn on_new_state<'a, C: Unlocked + 'static>(
294
294
& accounting_balances. earners ,
295
295
& proposed_balances. earners ,
296
296
)
297
- . ok_or ( Error :: Overflow ) ?;
297
+ . ok_or ( Error :: Overflow ( Overflow :: EarnerHealth ) ) ?;
298
298
if health_earners < u64:: from ( sentry. config . worker . health_unsignable_promilles ) {
299
299
return on_error (
300
300
sentry,
@@ -310,7 +310,7 @@ async fn on_new_state<'a, C: Unlocked + 'static>(
310
310
& accounting_balances. spenders ,
311
311
& proposed_balances. spenders ,
312
312
)
313
- . ok_or ( Error :: Overflow ) ?;
313
+ . ok_or ( Error :: Overflow ( Overflow :: SpenderHealth ) ) ?;
314
314
if health_spenders < u64:: from ( sentry. config . worker . health_unsignable_promilles ) {
315
315
return on_error (
316
316
sentry,
You can’t perform that action at this time.
0 commit comments