mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 21:04:53 +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');
|
state = FailureState('Amount is too small');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (maximum != null && maximum != 0 && amountInCrypto > maximum!) {
|
if (amountInCrypto > 4000000) {
|
||||||
state = FailureState('Amount is too big');
|
state = FailureState('Amount is too big');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue