From bdd01cccb27b5c199d4c3b42bba462773bd3310f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 12 Mar 2018 18:53:05 -0700 Subject: [PATCH] htlcswitch: remove getBandwidthCmd as it's no longer needed --- htlcswitch/link.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index 66dec4a80..7193ac209 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -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