htlcswitch: remove unused function in switch
This commit is contained in:
3 files changed
+5
-16
No files matched your search
@@ -2446,7 +2446,7 @@ func TestChannelLinkBandwidthConsistency(t *testing.T) {
|
||||
addPkt.outgoingChanID = carolChanID
|
||||
addPkt.outgoingHTLCID = 0
|
||||
|
||||
err = coreLink.cfg.Switch.openCircuits(addPkt.keystone())
|
||||
err = coreLink.cfg.Circuits.OpenCircuits(addPkt.keystone())
|
||||
if err != nil {
|
||||
t.Fatalf("unable to set keystone: %v", err)
|
||||
}
|
||||
@@ -2554,7 +2554,7 @@ func TestChannelLinkBandwidthConsistency(t *testing.T) {
|
||||
addPkt.outgoingChanID = carolChanID
|
||||
addPkt.outgoingHTLCID = 1
|
||||
|
||||
err = coreLink.cfg.Switch.openCircuits(addPkt.keystone())
|
||||
err = coreLink.cfg.Circuits.OpenCircuits(addPkt.keystone())
|
||||
if err != nil {
|
||||
t.Fatalf("unable to set keystone: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user