mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
pilot: pass minHtlc = 1 satoshi to OpenChannel
This commit is contained in:
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:
|
||||
|
Reference in New Issue
Block a user