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 3b9a833 commit 326448fCopy full SHA for 326448f
src/screens/Wallets/Receive/ReceiveConnect.tsx
@@ -41,7 +41,7 @@ const ReceiveConnect = ({
41
const { maxChannelSizeSat } = blocktank.options;
42
const minChannelSize = Math.round(amount * 2.5);
43
const maxChannelSize = Math.round(maxChannelSizeSat / 2);
44
- const channelSize = Math.min(minChannelSize, maxChannelSize);
+ const channelSize = Math.max(minChannelSize, maxChannelSize);
45
const lspBalance = channelSize - amount;
46
const payAmount = amount - feeEstimate;
47
const displayFee = useDisplayValues(feeEstimate);
0 commit comments