Skip to content
Snippets Groups Projects
Unverified Commit 2274beb0 authored by Wolfgang Welz's avatar Wolfgang Welz Committed by GitHub
Browse files

Fix linter warnings (#138)

parent 002ee26f
No related branches found
No related tags found
Loading
...@@ -181,7 +181,6 @@ func (api *GoShimmerAPI) FindTransactions(query *webapi_findTransactions.Request ...@@ -181,7 +181,6 @@ func (api *GoShimmerAPI) FindTransactions(query *webapi_findTransactions.Request
return resObj.Transactions, nil return resObj.Transactions, nil
} }
func (api *GoShimmerAPI) GetNeighbors() (*webapi_getNeighbors.Response, error) { func (api *GoShimmerAPI) GetNeighbors() (*webapi_getNeighbors.Response, error) {
res, err := api.httpClient.Get(fmt.Sprintf("%s/%s", api.node, routeGetNeighbors)) res, err := api.httpClient.Get(fmt.Sprintf("%s/%s", api.node, routeGetNeighbors))
if err != nil { if err != nil {
...@@ -196,7 +195,6 @@ func (api *GoShimmerAPI) GetNeighbors() (*webapi_getNeighbors.Response, error) { ...@@ -196,7 +195,6 @@ func (api *GoShimmerAPI) GetNeighbors() (*webapi_getNeighbors.Response, error) {
return resObj, nil return resObj, nil
} }
func (api *GoShimmerAPI) GetTips() (*webapi_gtta.Response, error) { func (api *GoShimmerAPI) GetTips() (*webapi_gtta.Response, error) {
res, err := api.httpClient.Get(fmt.Sprintf("%s/%s", api.node, routeGetTransactionsToApprove)) res, err := api.httpClient.Get(fmt.Sprintf("%s/%s", api.node, routeGetTransactionsToApprove))
if err != nil { if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment