funding: add TODO for consistency check
This commit is contained in:
parent
bda0e40dad
commit
9ff6de5be1
@ -807,6 +807,12 @@ func (f *fundingManager) advanceFundingState(channel *channeldb.OpenChannel,
|
|||||||
// Channel not in fundingManager's opening database,
|
// Channel not in fundingManager's opening database,
|
||||||
// meaning it was successfully announced to the
|
// meaning it was successfully announced to the
|
||||||
// network.
|
// network.
|
||||||
|
// TODO(halseth): could do graph consistency check
|
||||||
|
// here, and re-add the edge if missing.
|
||||||
|
fndgLog.Debugf("ChannlPoint(%v) with chanID=%v not "+
|
||||||
|
"found in opening database, assuming already "+
|
||||||
|
"announced to the network",
|
||||||
|
channel.FundingOutpoint, pendingChanID)
|
||||||
return
|
return
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
fndgLog.Errorf("Unable to query database for "+
|
fndgLog.Errorf("Unable to query database for "+
|
||||||
|
Loading…
Reference in New Issue
Block a user