htlcswitch: remove Switch reference from channelLink
This commit is contained in:
1 parent
38db17b8cc
commit
be69b022d9
5 files changed
+395
-303
No files matched your search
@@ -5263,10 +5263,12 @@ func testSwitchHandlePacketForward(t *testing.T, zeroConf, private,
|
||||
t.Parallel()
|
||||
|
||||
// Create a link for Alice that we'll add to the switch.
|
||||
aliceLink, _, _, _, _, err :=
|
||||
harness, err :=
|
||||
newSingleLinkTestHarness(t, btcutil.SatoshiPerBitcoin, 0)
|
||||
require.NoError(t, err)
|
||||
|
||||
aliceLink := harness.aliceLink
|
||||
|
||||
s, err := initSwitchWithTempDB(t, testStartingHeight)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to init switch: %v", err)
|
||||
|
||||
Reference in new issue
Block a user