itest: fix make lint

This commit fixes the issues reported by the linter.
This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:10 +08:00
1 parent a080375b7d
commit 2bc6aabf96
24 files changed
+127 -142

No files matched your search

+4
View File
@@ -61,6 +61,8 @@ var _ WebFeeService = (*FeeService)(nil)
// Start spins up a go-routine to serve fee estimates.
func NewFeeService(t *testing.T) *FeeService {
t.Helper()
port := node.NextAvailablePort()
f := FeeService{
T: t,
@@ -82,6 +84,7 @@ func NewFeeService(t *testing.T) *FeeService {
Addr: listenAddr,
Handler: mux,
}
return &f
}
@@ -123,6 +126,7 @@ func (f *FeeService) Stop() error {
require.NoError(f, err, "cannot stop fee api")
f.wg.Wait()
return nil
}