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

@@ -208,6 +208,7 @@ func newMailboxContext(t *testing.T, startTime time.Time,
ctx.mailbox = newMemoryMailBox(&mailBoxConfig{
fetchUpdate: func(sid lnwire.ShortChannelID) (
*lnwire.ChannelUpdate, error) {
return &lnwire.ChannelUpdate{
ShortChannelID: sid,
}, nil
@@ -671,12 +672,14 @@ func TestMailOrchestrator(t *testing.T) {
mo := newMailOrchestrator(&mailOrchConfig{
fetchUpdate: func(sid lnwire.ShortChannelID) (
*lnwire.ChannelUpdate, error) {
return &lnwire.ChannelUpdate{
ShortChannelID: sid,
}, nil
},
forwardPackets: func(_ chan struct{},
pkts ...*htlcPacket) error {
return nil
},
clock: clock.NewTestClock(time.Now()),