htlcswitch: remove getBandwidthCmd as it's no longer needed

This commit is contained in:
Olaoluwa Osuntokun 2018-03-12 18:53:05 -07:00
parent 1af8fa9367
commit bdd01cccb2
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -1528,11 +1528,6 @@ func (l *channelLink) ChanID() lnwire.ChannelID {
return lnwire.NewChanIDFromOutPoint(l.channel.ChannelPoint())
}
// getBandwidthCmd is a wrapper for get bandwidth handler.
type getBandwidthCmd struct {
resp chan lnwire.MilliSatoshi
}
// Bandwidth returns the total amount that can flow through the channel link at
// this given instance. The value returned is expressed in millisatoshi and can
// be used by callers when making forwarding decisions to determine if a link