Skip to content

Commit

Permalink
api: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Aug 16, 2024
1 parent 8fc5351 commit 58ccd79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ type ConsensusUpdatesResponse struct {
Reverted []RevertUpdate `json:"reverted"`
}

// DebugMineRequest is the request type for /debug/mine.
type DebugMineRequest struct {
Blocks int `json:"blocks"`
Address types.Address `json:"address"`
Expand Down
1 change: 1 addition & 0 deletions api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (c *Client) getNetwork() (*consensus.Network, error) {
return c.n, nil
}

// BaseURL returns the URL of the walletd server.
func (c *Client) BaseURL() string {
return c.c.BaseURL
}
Expand Down

0 comments on commit 58ccd79

Please sign in to comment.