funding: mark tx label before notifying channel open event
This commit is contained in:
2 files changed
+6
-3
No files matched your search
+3
-3
@@ -2815,13 +2815,13 @@ func (f *Manager) handleFundingConfirmation(
|
||||
"%v", err)
|
||||
}
|
||||
|
||||
// Update the confirmed funding transaction label.
|
||||
f.makeLabelForTx(completeChan)
|
||||
|
||||
// Inform the ChannelNotifier that the channel has transitioned from
|
||||
// pending open to open.
|
||||
f.cfg.NotifyOpenChannelEvent(completeChan.FundingOutpoint)
|
||||
|
||||
// Update the confirmed funding transaction label.
|
||||
f.makeLabelForTx(completeChan)
|
||||
|
||||
// Close the discoverySignal channel, indicating to a separate
|
||||
// goroutine that the channel now is marked as open in the database
|
||||
// and that it is acceptable to process funding locked messages
|
||||
|
||||
Reference in new issue
Block a user