mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
swap: fix warning message flicker
This commit is contained in:
parent
985fcc9d7f
commit
23701b5e01
1 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ class BuildSwapStore {
|
|||
@computed
|
||||
get isLoopInMinimumMet() {
|
||||
const { min, max } = this.getTermsForDirection(SwapDirection.IN);
|
||||
if (!max.gt(min)) return false;
|
||||
if (!max.gte(min)) return false;
|
||||
|
||||
if (this.selectedChanIds.length > 0) {
|
||||
return this.loopInLastHop !== undefined;
|
||||
|
|
@ -196,7 +196,7 @@ class BuildSwapStore {
|
|||
@computed
|
||||
get isLoopOutMinimumMet() {
|
||||
const { min, max } = this.getTermsForDirection(SwapDirection.OUT);
|
||||
if (!max.gt(min)) return false;
|
||||
if (!max.gte(min)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue