Merge pull request #5246 from mempool/nymkappa/update-payment-method-handling

[accelerator] update payment method handling
This commit is contained in:
softsimon
2024-07-01 19:06:26 +09:00
committed by GitHub
2 changed files with 31 additions and 4 deletions

View File

@@ -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) {