funding: allow incoming wumbo channel requests if wumbo is enabled

This commit is contained in:
Olaoluwa Osuntokun committed 2020-07-10 16:27:15 -07:00
1 parent 6243838444
commit 8177fed302
3 files changed
+89 -2

No files matched your search

+1
View File
@@ -967,6 +967,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr, chanDB *channeldb.DB,
}
s.fundingMgr, err = newFundingManager(fundingConfig{
NoWumboChans: !cfg.ProtocolOptions.Wumbo(),
IDKey: nodeKeyECDH.PubKey(),
Wallet: cc.wallet,
PublishTransaction: cc.wallet.PublishTransaction,