funding: by default, signal to announce initiated channel to network

This commit is contained in:
Olaoluwa Osuntokun 2017-11-09 12:00:12 -08:00
parent 9a2c2cdf86
commit 3764e5c65e
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -2088,6 +2088,7 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) {
PaymentPoint: ourContribution.PaymentBasePoint,
DelayedPaymentPoint: ourContribution.DelayBasePoint,
FirstCommitmentPoint: ourContribution.FirstCommitmentPoint,
ChannelFlags: lnwire.FFAnnounceChannel,
}
if err := f.cfg.SendToPeer(peerKey, &fundingOpen); err != nil {
fndgLog.Errorf("Unable to send funding request message: %v", err)