@@ -74,7 +74,7 @@ func testAddSettleWorkflow(t *testing.T, tweakless bool,
7474 chanType |= chanTypeModifier
7575 }
7676
77- aliceChannel , bobChannel , cleanUp , err := CreateTestChannels (chanType )
77+ aliceChannel , bobChannel , err := CreateTestChannels (t , chanType )
7878 require .NoError (t , err , "unable to create test channels" )
7979
8080 paymentPreimage := bytes .Repeat ([]byte {1 }, 32 )
@@ -3598,7 +3598,7 @@ func TestChanSyncOweRevocationAndCommit(t *testing.T) {
35983598 require .NoError (t , err , "alice unable to recv revocation" )
35993599 err = aliceChannel .ReceiveNewCommitment (bobNewCommit .CommitSigs )
36003600 require .NoError (t , err , "alice unable to recv bob's commitment" )
3601- aliceRevocation , _ , err := aliceChannel .RevokeCurrentCommitment ()
3601+ aliceRevocation , _ , _ , err := aliceChannel .RevokeCurrentCommitment ()
36023602 require .NoError (t , err , "alice unable to revoke commitment" )
36033603 _ , _ , _ , _ , err = bobChannel .ReceiveRevocation (aliceRevocation )
36043604 require .NoError (t , err , "bob unable to recv revocation" )
0 commit comments