multi: fix issues reported by whitespace linter

This commit is contained in:
Oliver Gugger
2022-02-15 16:25:54 +01:00
parent 8d83778314
commit 13f187046b
14 changed files with 26 additions and 18 deletions

View File

@@ -62,6 +62,7 @@ func newHtlcResolverTestContext(t *testing.T,
Sweeper: newMockSweeper(),
IncubateOutputs: func(wire.OutPoint, *lnwallet.OutgoingHtlcResolution,
*lnwallet.IncomingHtlcResolution, uint32) error {
return nil
},
DeliverResolutionMsg: func(msgs ...ResolutionMsg) error {
@@ -86,6 +87,7 @@ func newHtlcResolverTestContext(t *testing.T,
// this so set nolint directive.
checkpointFunc := func(c ContractResolver, // nolint
r ...*channeldb.ResolverReport) error {
return testCtx.checkpoint(c, r...)
}
@@ -253,6 +255,7 @@ func TestHtlcSuccessSecondStageResolution(t *testing.T) {
// to resolve our htlc.
preCheckpoint: func(ctx *htlcResolverTestContext,
_ bool) error {
ctx.notifier.SpendChan <- &chainntnfs.SpendDetail{
SpendingTx: sweepTx,
SpenderTxHash: &sweepHash,