[accelerator] add new error message
This commit is contained in:
parent
c75afe20cd
commit
254d962558
@ -29,6 +29,7 @@ const MempoolErrors = {
|
|||||||
'faucet_address_not_allowed': `You cannot use this address`,
|
'faucet_address_not_allowed': `You cannot use this address`,
|
||||||
'faucet_below_minimum': `Requested amount is too small`,
|
'faucet_below_minimum': `Requested amount is too small`,
|
||||||
'faucet_above_maximum': `Requested amount is too high`,
|
'faucet_above_maximum': `Requested amount is too high`,
|
||||||
|
'payment_method_not_allowed': `You are not allowed to use this payment method`,
|
||||||
} as { [error: string]: string };
|
} as { [error: string]: string };
|
||||||
|
|
||||||
export function isMempoolError(error: string) {
|
export function isMempoolError(error: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user