From 3ed0e8ee96e5df6c229b72279062efb5bd816f58 Mon Sep 17 00:00:00 2001 From: andreihod Date: Wed, 28 Sep 2022 19:35:36 -0300 Subject: [PATCH] lint: remove unnecessary leading newline --- routing/router_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/routing/router_test.go b/routing/router_test.go index 8df1f1f5a..a3f832b82 100644 --- a/routing/router_test.go +++ b/routing/router_test.go @@ -976,7 +976,6 @@ func TestSendPaymentErrorNonFinalTimeLockErrors(t *testing.T) { // only channel to Sophon. ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult( func(firstHop lnwire.ShortChannelID) ([32]byte, error) { - if firstHop == roasbeefSongoku { return [32]byte{}, htlcswitch.NewForwardingError( &lnwire.FailExpiryTooSoon{ @@ -1024,7 +1023,6 @@ func TestSendPaymentErrorNonFinalTimeLockErrors(t *testing.T) { // around the faulty Son Goku node. ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult( func(firstHop lnwire.ShortChannelID) ([32]byte, error) { - if firstHop == roasbeefSongoku { return [32]byte{}, htlcswitch.NewForwardingError( &lnwire.FailIncorrectCltvExpiry{