We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 985fcc9 commit 23701b5Copy full SHA for 23701b5
app/src/store/stores/buildSwapStore.ts
@@ -180,7 +180,7 @@ class BuildSwapStore {
180
@computed
181
get isLoopInMinimumMet() {
182
const { min, max } = this.getTermsForDirection(SwapDirection.IN);
183
- if (!max.gt(min)) return false;
+ if (!max.gte(min)) return false;
184
185
if (this.selectedChanIds.length > 0) {
186
return this.loopInLastHop !== undefined;
@@ -196,7 +196,7 @@ class BuildSwapStore {
196
197
get isLoopOutMinimumMet() {
198
const { min, max } = this.getTermsForDirection(SwapDirection.OUT);
199
200
201
return true;
202
}
0 commit comments