mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 12:54:38 +00:00
just set hard cap on invoice max
This commit is contained in:
parent
d0c2c2802b
commit
9f782956ca
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ abstract class LightningInvoicePageViewModelBase with Store {
|
|||
state = FailureState('Amount is too small');
|
||||
return;
|
||||
}
|
||||
if (maximum != null && maximum != 0 && amountInCrypto > maximum!) {
|
||||
if (amountInCrypto > 4000000) {
|
||||
state = FailureState('Amount is too big');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue