make private if not part of provider interface
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-13 18:52:24 -07:00
parent 5eea9ede3a
commit 47e460a9dc
4 changed files with 19 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ type Address struct {
// GetAddress returns an Address struct populated with data from blockstream.info
// for a given BTC address
func (c *client) GetAddress(address string) (*Address, error) {
func (c *client) getAddress(address string) (*Address, error) {
addressResponse := &Address{}
err := c.get(fmt.Sprintf("address/%s", address), addressResponse, url.Values{})