Merge pull request #5705 from mempool/nymkappa/503-faucet-utxo-chain
[faucet] add new error message when no utxo available
This commit is contained in:
commit
43393f7227
@ -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