pilot: pass minHtlc = 1 satoshi to OpenChannel

This commit is contained in:
Johan T. Halseth 2017-12-17 00:01:08 +01:00
parent f3dff2ae97
commit 7805a53c34
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -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: