pilot: pass minHtlc = 1 satoshi to OpenChannel
This commit is contained in:
parent
f3dff2ae97
commit
7805a53c34
6
pilot.go
6
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:
|
||||
|
Loading…
Reference in New Issue
Block a user