From 7805a53c34d15f46bd485e3b60c817a7232ffd7b Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Sun, 17 Dec 2017 00:01:08 +0100 Subject: [PATCH] pilot: pass minHtlc = 1 satoshi to OpenChannel --- pilot.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pilot.go b/pilot.go index ad239ef6..82abe7ef 100644 --- a/pilot.go +++ b/pilot.go @@ -89,8 +89,12 @@ func (c *chanController) OpenChannel(target *btcec.PublicKey, if err != nil { return err } + + // TODO(halseth): make configurable? + minHtlc := lnwire.NewMSatFromSatoshis(1) + updateStream, errChan := c.server.OpenChannel(-1, target, amt, 0, - feePerWeight, false) + minHtlc, feePerWeight, false) select { case err := <-errChan: