server: Add max value in flight to server

This commit is contained in:
vctt94
2018-08-29 18:44:23 -03:00
parent 01ba4d0b59
commit 474ce4ae25
3 changed files with 17 additions and 10 deletions

View File

@@ -106,6 +106,7 @@ func (c *chanController) OpenChannel(target *btcec.PublicKey,
private: c.private,
remoteCsvDelay: 0,
minConfs: c.minConfs,
maxValueInFlight: 0,
}
updateStream, errChan := c.server.OpenChannel(req)