@@ -267,7 +267,7 @@ func testChannelBackupRestoreBasic(ht *lntest.HarnessTest) {
267267 // the node from seed, then manually recover
268268 // the channel backup.
269269 return chanRestoreViaRPC (
270- st , password , mnemonic , multi , oldNode ,
270+ st , password , mnemonic , multi ,
271271 )
272272 },
273273 },
@@ -291,7 +291,7 @@ func testChannelBackupRestoreBasic(ht *lntest.HarnessTest) {
291291 // create a new nodeRestorer that will restore
292292 // using the on-disk channel.backup.
293293 return chanRestoreViaRPC (
294- st , password , mnemonic , multi , oldNode ,
294+ st , password , mnemonic , multi ,
295295 )
296296 },
297297 },
@@ -523,7 +523,7 @@ func runChanRestoreScenarioUnConfirmed(ht *lntest.HarnessTest, useFile bool) {
523523 // In our nodeRestorer function, we'll restore the node from seed, then
524524 // manually recover the channel backup.
525525 restoredNodeFunc := chanRestoreViaRPC (
526- ht , crs .password , crs .mnemonic , multi , dave ,
526+ ht , crs .password , crs .mnemonic , multi ,
527527 )
528528
529529 // Test the scenario.
@@ -658,7 +658,7 @@ func runChanRestoreScenarioCommitTypes(ht *lntest.HarnessTest,
658658 // Now that we have Dave's backup file, we'll create a new nodeRestorer
659659 // that we'll restore using the on-disk channels.backup.
660660 restoredNodeFunc := chanRestoreViaRPC (
661- ht , crs .password , crs .mnemonic , multi , dave ,
661+ ht , crs .password , crs .mnemonic , multi ,
662662 )
663663
664664 // Test the scenario.
@@ -687,7 +687,7 @@ func testChannelBackupRestoreLegacy(ht *lntest.HarnessTest) {
687687 // In our nodeRestorer function, we'll restore the node from seed, then
688688 // manually recover the channel backup.
689689 restoredNodeFunc := chanRestoreViaRPC (
690- ht , crs .password , crs .mnemonic , multi , dave ,
690+ ht , crs .password , crs .mnemonic , multi ,
691691 )
692692
693693 // Test the scenario.
@@ -779,7 +779,7 @@ func runChanRestoreScenarioForceClose(ht *lntest.HarnessTest, zeroConf bool) {
779779 // Now that we have Dave's backup file, we'll create a new nodeRestorer
780780 // that will restore using the on-disk channel.backup.
781781 restoredNodeFunc := chanRestoreViaRPC (
782- ht , crs .password , crs .mnemonic , multi , dave ,
782+ ht , crs .password , crs .mnemonic , multi ,
783783 )
784784
785785 // We now wait until both Dave's closing tx.
@@ -1388,8 +1388,7 @@ func createLegacyRevocationChannel(ht *lntest.HarnessTest,
13881388// instance which will restore the target node from a password+seed, then
13891389// trigger a SCB restore using the RPC interface.
13901390func chanRestoreViaRPC (ht * lntest.HarnessTest , password []byte ,
1391- mnemonic []string , multi []byte ,
1392- oldNode * node.HarnessNode ) nodeRestorer {
1391+ mnemonic []string , multi []byte ) nodeRestorer {
13931392
13941393 backup := & lnrpc.RestoreChanBackupRequest_MultiChanBackup {
13951394 MultiChanBackup : multi ,
0 commit comments