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

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

No files matched your search

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