itest/lnd_channel_backup_test: fix typos

This commit is contained in:
Boris Nagaev
2024-03-27 20:49:24 -03:00
parent 29946df4e5
commit ef8535356b

View File

@@ -429,7 +429,7 @@ func testChannelBackupRestoreBasic(ht *lntest.HarnessTest) {
func runChanRestoreScenarioBasic(ht *lntest.HarnessTest, func runChanRestoreScenarioBasic(ht *lntest.HarnessTest,
restoreMethod restoreMethodType) { restoreMethod restoreMethodType) {
// Create a new retore scenario. // Create a new restore scenario.
crs := newChanRestoreScenario( crs := newChanRestoreScenario(
ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false, ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false,
) )
@@ -470,7 +470,7 @@ func testChannelBackupRestoreUnconfirmed(ht *lntest.HarnessTest) {
// runChanRestoreScenarioUnConfirmed checks that Dave is able to restore for an // runChanRestoreScenarioUnConfirmed checks that Dave is able to restore for an
// unconfirmed channel. // unconfirmed channel.
func runChanRestoreScenarioUnConfirmed(ht *lntest.HarnessTest, useFile bool) { func runChanRestoreScenarioUnConfirmed(ht *lntest.HarnessTest, useFile bool) {
// Create a new retore scenario. // Create a new restore scenario.
crs := newChanRestoreScenario( crs := newChanRestoreScenario(
ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false, ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false,
) )
@@ -608,7 +608,7 @@ func testChannelBackupRestoreCommitTypes(ht *lntest.HarnessTest) {
func runChanRestoreScenarioCommitTypes(ht *lntest.HarnessTest, func runChanRestoreScenarioCommitTypes(ht *lntest.HarnessTest,
ct lnrpc.CommitmentType, zeroConf bool) { ct lnrpc.CommitmentType, zeroConf bool) {
// Create a new retore scenario. // Create a new restore scenario.
crs := newChanRestoreScenario(ht, ct, zeroConf) crs := newChanRestoreScenario(ht, ct, zeroConf)
carol, dave := crs.carol, crs.dave carol, dave := crs.carol, crs.dave
@@ -668,7 +668,7 @@ func runChanRestoreScenarioCommitTypes(ht *lntest.HarnessTest,
// testChannelBackupRestoreLegacy checks a channel with the legacy revocation // testChannelBackupRestoreLegacy checks a channel with the legacy revocation
// producer format and makes sure old SCBs can still be recovered. // producer format and makes sure old SCBs can still be recovered.
func testChannelBackupRestoreLegacy(ht *lntest.HarnessTest) { func testChannelBackupRestoreLegacy(ht *lntest.HarnessTest) {
// Create a new retore scenario. // Create a new restore scenario.
crs := newChanRestoreScenario( crs := newChanRestoreScenario(
ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false, ht, lnrpc.CommitmentType_UNKNOWN_COMMITMENT_TYPE, false,
) )