Skip to content

Commit 022d827

Browse files
committed
Remove spending cap limit check
1 parent 5f8305e commit 022d827

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/pages/public/configure/index.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ function ConfigurePage(): JSX.Element {
156156
errors.localBalance = `Total channel capacity is ${numberWithSpaces(
157157
product.max_channel_size
158158
)} sats`;
159-
} else if (Number(localBalance) < product.min_channel_size) {
160-
// TODO remove this check if the min spending cap check is removed from API
161-
errors.localBalance = `Minimum spending capacity is ${numberWithSpaces(
162-
product.min_channel_size
163-
)} sats`;
164159
}
165160
}
166161

0 commit comments

Comments
 (0)