Skip to content

Commit e13d88f

Browse files
committed
watchtower/wtclient/backup_task_internal_test: adds backupTask utests
1 parent 8f98522 commit e13d88f

File tree

2 files changed

+607
-5
lines changed

2 files changed

+607
-5
lines changed

watchtower/wtclient/backup_task.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import (
2323
// and the total amount contained in the inputs.
2424
// 2. Bind: Asserts that the revoked state is eligible under a given session's
2525
// parameters. Certain states may be ineligible due to fee rates, too little
26-
// input amount, etc.. Backup of these states can be deferred to a later
27-
// time or session with more favorable parameters. If the session is bound
26+
// input amount, etc. Backup of these states can be deferred to a later time
27+
// or session with more favorable parameters. If the session is bound
2828
// successfully, the final session-dependent values to the justice
2929
// transaction are solidified.
3030
// 3. Send: Once the task is bound, it will be queued to send to a specific
@@ -48,9 +48,6 @@ type backupTask struct {
4848

4949
blobType blob.Type
5050
outputs []*wire.TxOut
51-
//sweepAmt int64
52-
//rewardAmt int64
53-
//rewardAddress []byte
5451
}
5552

5653
// newBackupTask initializes a new backupTask and populates all state-dependent

0 commit comments

Comments
 (0)