htlcswitch: remove unused function in switch

This commit is contained in:
yyforyongyu committed 2021-09-23 13:24:14 +08:00
1 parent 22848df07a
commit 1274e31dfb
3 files changed
+5 -16

No files matched your search

+2 -2
View File
@@ -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)
}