multi: distinguish between htlc in and out constraints

This commit is contained in:
Joost Jager committed 2019-12-11 00:16:57 +01:00
1 parent d8fd6fae23
commit ddb98fcc41
11 files changed
+48 -39

No files matched your search

+2 -2
View File
@@ -92,7 +92,7 @@ func (c *chanController) OpenChannel(target *btcec.PublicKey,
}
// TODO(halseth): make configurable?
minHtlc := lnwire.NewMSatFromSatoshis(1)
minHtlcIn := lnwire.NewMSatFromSatoshis(1)
// Construct the open channel request and send it to the server to begin
// the funding workflow.
@@ -102,7 +102,7 @@ func (c *chanController) OpenChannel(target *btcec.PublicKey,
subtractFees: true,
localFundingAmt: amt,
pushAmt: 0,
minHtlc: minHtlc,
minHtlcIn: minHtlcIn,
fundingFeePerKw: feePerKw,
private: c.private,
remoteCsvDelay: 0,