From 69b40cf073b5c206acb5fa59ed15e7cbf3e903eb Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Mon, 1 Jul 2024 18:30:40 +0900 Subject: [PATCH] [accelerator] add new error message payment_method_not_allowed_out_of_bound --- .../shared/components/mempool-error/mempool-error.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts b/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts index 1706be24d..d33b3c37c 100644 --- a/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts +++ b/frontend/src/app/shared/components/mempool-error/mempool-error.component.ts @@ -30,6 +30,7 @@ const MempoolErrors = { 'faucet_below_minimum': `Requested amount is too small`, 'faucet_above_maximum': `Requested amount is too high`, 'payment_method_not_allowed': `You are not allowed to use this payment method`, + 'payment_method_not_allowed_out_of_bound': `You are not allowed to use this payment method with this amount`, } as { [error: string]: string }; export function isMempoolError(error: string) {