multi: use mutex-guarded ShortChanID() on OpenChannel
This commit is contained in:
13 files changed
+31
-31
No files matched your search
@@ -364,7 +364,7 @@ func (cm *circuitMap) trimAllOpenCircuits() error {
|
||||
// First, skip any channels that have not been assigned their
|
||||
// final channel identifier, otherwise we would try to trim
|
||||
// htlcs belonging to the all-zero, sourceHop ID.
|
||||
chanID := activeChannel.ShortChanID
|
||||
chanID := activeChannel.ShortChanID()
|
||||
if chanID == sourceHop {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user