mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
multi: fix linter issues
This commit is contained in:
parent
b3c0d0e9b1
commit
322a96133d
5 changed files with 5 additions and 5 deletions
|
|
@ -663,6 +663,7 @@ func (s *InterceptorService) TrackPayment(id AccountID, hash lntypes.Hash,
|
|||
if errors.Is(
|
||||
err, channeldb.ErrPaymentNotInitiated,
|
||||
) {
|
||||
|
||||
log.Debugf("Payment %v not initiated, "+
|
||||
"stopping tracking", hash)
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ func printJSON(resp interface{}) {
|
|||
}
|
||||
|
||||
var out bytes.Buffer
|
||||
json.Indent(&out, b, "", "\t")
|
||||
out.WriteString("\n")
|
||||
out.WriteTo(os.Stdout)
|
||||
_ = json.Indent(&out, b, "", "\t")
|
||||
_, _ = out.WriteString("\n")
|
||||
_, _ = out.WriteTo(os.Stdout)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ func runAccountSystemTest(t *harnessTest, node *HarnessNode, hostPort,
|
|||
Label: acctLabel,
|
||||
},
|
||||
)
|
||||
require.NoError(t.t, err)
|
||||
require.Equal(t.t, acctResp.Account.Id, infoResp.Id)
|
||||
require.EqualValues(t.t, acctBalance, infoResp.CurrentBalance)
|
||||
require.EqualValues(t.t, acctBalance, infoResp.InitialBalance)
|
||||
|
|
|
|||
|
|
@ -242,7 +242,6 @@ func TestGroupID(t *testing.T) {
|
|||
|
||||
// Instead, the group ID should match the session ID of session 1.
|
||||
require.Equal(t, session1.ID, session2.GroupID)
|
||||
|
||||
}
|
||||
|
||||
// TestSerializeDeserializeCaveats makes sure that a list of caveats can be
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ func (s *Manager) RegisterAndEnableSubServer(name string) {
|
|||
ss.Disabled = false
|
||||
|
||||
s.subServers[name] = ss
|
||||
|
||||
}
|
||||
|
||||
// GetStatus returns the current status of a given sub-server. This will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue