multi: use mutex-guarded ShortChanID() on OpenChannel

This commit is contained in:
Conner Fromknecht committed 2018-05-09 16:06:49 -07:00
1 parent 19b5eaa4dc
commit f963f91a3c
13 files changed
+31 -31

No files matched your search

+1 -1
View File
@@ -1560,7 +1560,7 @@ func (s *Switch) reforwardResponses() error {
}
for _, activeChannel := range activeChannels {
shortChanID := activeChannel.ShortChanID
shortChanID := activeChannel.ShortChanID()
fwdPkgs, err := s.loadChannelFwdPkgs(shortChanID)
if err != nil {
return err