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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(halseth): make configurable?
|
||||||
|
minHtlc := lnwire.NewMSatFromSatoshis(1)
|
||||||
|
|
||||||
updateStream, errChan := c.server.OpenChannel(-1, target, amt, 0,
|
updateStream, errChan := c.server.OpenChannel(-1, target, amt, 0,
|
||||||
feePerWeight, false)
|
minHtlc, feePerWeight, false)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case err := <-errChan:
|
case err := <-errChan:
|
||||||
|
Loading…
Reference in New Issue
Block a user