mirror of
https://github.com/mempool/mempool.git
synced 2025-03-17 21:32:02 +01:00
[faucet] add new error message when no utxo available
This commit is contained in:
parent
ddcf745722
commit
c9b9485313
@ -24,7 +24,7 @@ export class FaucetComponent implements OnInit, OnDestroy {
|
||||
min: number; // minimum amount to request at once (in sats)
|
||||
max: number; // maximum amount to request at once
|
||||
address?: string; // faucet address
|
||||
code: 'ok' | 'faucet_not_available' | 'faucet_maximum_reached' | 'faucet_too_soon';
|
||||
code: 'ok' | 'faucet_not_available' | 'faucet_maximum_reached' | 'faucet_too_soon' | 'faucet_not_available_no_utxo';
|
||||
} | null = null;
|
||||
faucetForm: FormGroup;
|
||||
|
||||
|
@ -26,6 +26,7 @@ export const MempoolErrors = {
|
||||
'unauthorized': `You are not authorized to do this`,
|
||||
'faucet_too_soon': `You cannot request any more coins right now. Try again later.`,
|
||||
'faucet_not_available': `The faucet is not available right now. Try again later.`,
|
||||
'faucet_not_available_no_utxo': `The faucet is not available right now. Please try again once a new block has been mined.`,
|
||||
'faucet_maximum_reached': `You are not allowed to request more coins`,
|
||||
'faucet_address_not_allowed': `You cannot use this address`,
|
||||
'faucet_below_minimum': `Requested amount is too small`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user