htlcswicth: fix deadlock

After addition of the channel reestablish message exchange we couldn't
use the Bandwidth() function, at least in the test framework.
This commit is contained in:
Andrey Samokhvalov authored and Olaoluwa Osuntokun committed 2017-11-09 16:38:57 -08:00
1 parent d70ffe93e4
commit 291232f0c3
1 file changed
+2 -3
+2 -3
View File
@@ -878,9 +878,8 @@ func (s *Switch) addLink(link ChannelLink) error {
return err
}
log.Infof("Added channel link with chan_id=%v, short_chan_id=(%v), "+
"bandwidth=%v", link.ChanID(), spew.Sdump(link.ShortChanID()),
link.Bandwidth())
log.Infof("Added channel link with chan_id=%v, short_chan_id=(%v)",
link.ChanID(), spew.Sdump(link.ShortChanID()))
return nil
}