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 66a4870 commit 39613d1Copy full SHA for 39613d1
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