config: add channel commit interval parameter

This commit is contained in:
Joost Jager committed 2021-04-09 15:10:42 +02:00
1 parent cd87fe89eb
commit a181d26287
4 files changed
+21 -2

No files matched your search

+2 -1
View File
@@ -3137,7 +3137,8 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
CoopCloseTargetConfs: s.cfg.CoopCloseTargetConfs,
MaxAnchorsCommitFeeRate: chainfee.SatPerKVByte(
s.cfg.MaxCommitFeeRateAnchors * 1000).FeePerKWeight(),
Quit: s.quit,
ChannelCommitInterval: s.cfg.ChannelCommitInterval,
Quit: s.quit,
}
copy(pCfg.PubKeyBytes[:], peerAddr.IdentityKey.SerializeCompressed())