@@ -79,15 +79,15 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
7979 mnemonic []string ) (nodeRestorer , error ) {
8080
8181 // Read the entire Multi backup stored within
82- // this node's channels .backup file.
82+ // this node's channel .backup file.
8383 multi , err := ioutil .ReadFile (backupFilePath )
8484 if err != nil {
8585 return nil , err
8686 }
8787
8888 // Now that we have Dave's backup file, we'll
8989 // create a new nodeRestorer that will restore
90- // using the on-disk channels .backup.
90+ // using the on-disk channel .backup.
9191 return chanRestoreViaRPC (
9292 net , password , mnemonic , multi , oldNode ,
9393 )
@@ -190,15 +190,15 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
190190 mnemonic []string ) (nodeRestorer , error ) {
191191
192192 // Read the entire Multi backup stored within
193- // this node's channels .backup file.
193+ // this node's channel .backup file.
194194 multi , err := ioutil .ReadFile (backupFilePath )
195195 if err != nil {
196196 return nil , err
197197 }
198198
199199 // Now that we have Dave's backup file, we'll
200200 // create a new nodeRestorer that will restore
201- // using the on-disk channels .backup.
201+ // using the on-disk channel .backup.
202202 backup := & lnrpc.RestoreChanBackupRequest_MultiChanBackup {
203203 MultiChanBackup : multi ,
204204 }
@@ -258,7 +258,7 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
258258 mnemonic []string ) (nodeRestorer , error ) {
259259
260260 // Read the entire Multi backup stored within
261- // this node's channels .backup file.
261+ // this node's channel .backup file.
262262 multi , err := ioutil .ReadFile (backupFilePath )
263263 if err != nil {
264264 return nil , err
@@ -345,15 +345,15 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
345345 mnemonic []string ) (nodeRestorer , error ) {
346346
347347 // Read the entire Multi backup stored within
348- // this node's channels .backup file.
348+ // this node's channel .backup file.
349349 multi , err := ioutil .ReadFile (backupFilePath )
350350 if err != nil {
351351 return nil , err
352352 }
353353
354354 // Now that we have Dave's backup file, we'll
355355 // create a new nodeRestorer that will restore
356- // using the on-disk channels .backup.
356+ // using the on-disk channel .backup.
357357 return chanRestoreViaRPC (
358358 net , password , mnemonic , multi , oldNode ,
359359 )
@@ -405,15 +405,15 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
405405 mnemonic []string ) (nodeRestorer , error ) {
406406
407407 // Read the entire Multi backup stored within
408- // this node's channels .backup file.
408+ // this node's channel .backup file.
409409 multi , err := ioutil .ReadFile (backupFilePath )
410410 if err != nil {
411411 return nil , err
412412 }
413413
414414 // Now that we have Dave's backup file, we'll
415415 // create a new nodeRestorer that will restore
416- // using the on-disk channels .backup.
416+ // using the on-disk channel .backup.
417417 return chanRestoreViaRPC (
418418 net , password , mnemonic , multi , oldNode ,
419419 )
@@ -443,7 +443,7 @@ func testChannelBackupRestore(net *lntest.NetworkHarness, t *harnessTest) {
443443}
444444
445445// testChannelBackupUpdates tests that both the streaming channel update RPC,
446- // and the on-disk channels .backup are updated each time a channel is
446+ // and the on-disk channel .backup are updated each time a channel is
447447// opened/closed.
448448func testChannelBackupUpdates (net * lntest.NetworkHarness , t * harnessTest ) {
449449 ctxb := context .Background ()
0 commit comments