mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lint: remove unnecessary leading newline
This commit is contained in:
parent
861f8174b1
commit
3ed0e8ee96
1 changed files with 0 additions and 2 deletions
|
@ -976,7 +976,6 @@ func TestSendPaymentErrorNonFinalTimeLockErrors(t *testing.T) {
|
||||||
// only channel to Sophon.
|
// only channel to Sophon.
|
||||||
ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult(
|
ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult(
|
||||||
func(firstHop lnwire.ShortChannelID) ([32]byte, error) {
|
func(firstHop lnwire.ShortChannelID) ([32]byte, error) {
|
||||||
|
|
||||||
if firstHop == roasbeefSongoku {
|
if firstHop == roasbeefSongoku {
|
||||||
return [32]byte{}, htlcswitch.NewForwardingError(
|
return [32]byte{}, htlcswitch.NewForwardingError(
|
||||||
&lnwire.FailExpiryTooSoon{
|
&lnwire.FailExpiryTooSoon{
|
||||||
|
@ -1024,7 +1023,6 @@ func TestSendPaymentErrorNonFinalTimeLockErrors(t *testing.T) {
|
||||||
// around the faulty Son Goku node.
|
// around the faulty Son Goku node.
|
||||||
ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult(
|
ctx.router.cfg.Payer.(*mockPaymentAttemptDispatcherOld).setPaymentResult(
|
||||||
func(firstHop lnwire.ShortChannelID) ([32]byte, error) {
|
func(firstHop lnwire.ShortChannelID) ([32]byte, error) {
|
||||||
|
|
||||||
if firstHop == roasbeefSongoku {
|
if firstHop == roasbeefSongoku {
|
||||||
return [32]byte{}, htlcswitch.NewForwardingError(
|
return [32]byte{}, htlcswitch.NewForwardingError(
|
||||||
&lnwire.FailIncorrectCltvExpiry{
|
&lnwire.FailIncorrectCltvExpiry{
|
||||||
|
|
Loading…
Add table
Reference in a new issue