mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-15 15:39:07 +02:00
htlcswitch: remove getBandwidthCmd as it's no longer needed
This commit is contained in:
parent
1af8fa9367
commit
bdd01cccb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user