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:
parent
d70ffe93e4
commit
291232f0c3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user