Skip to content

Commit 970fc5d

Browse files
committed
Minor comment fixes, bumped version
1 parent 7deaedb commit 970fc5d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

actions/transactions/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
// get will fetch a transaction
12-
func (a *Action) get(w http.ResponseWriter, req *http.Request, ps httprouter.Params) {
12+
func (a *Action) get(w http.ResponseWriter, req *http.Request, _ httprouter.Params) {
1313
// Parse the params
1414
params := apirouter.GetParams(req)
1515

actions/utxos/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
apirouter "github.com/mrz1836/go-api-router"
99
)
1010

11-
// get will fetch a utxo according to conditions
11+
// get will fetch a given utxo according to conditions
1212
func (a *Action) get(w http.ResponseWriter, req *http.Request, _ httprouter.Params) {
1313

1414
reqXPubID, _ := bux.GetXpubIDFromRequest(req)

actions/utxos/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
apirouter "github.com/mrz1836/go-api-router"
1010
)
1111

12-
// search will fetch a list of transactions filtered on conditions and metadata
12+
// search will fetch a list of utxos filtered on conditions and metadata
1313
func (a *Action) search(w http.ResponseWriter, req *http.Request, _ httprouter.Params) {
1414

1515
reqXPubID, _ := bux.GetXpubIDFromRequest(req)

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const (
2727
EnvironmentStaging = "staging"
2828
EnvironmentTest = "test"
2929
HealthRequestPath = "health"
30-
Version = "v0.2.0"
30+
Version = "v0.2.1"
3131
)
3232

3333
// Local variables for configuration

0 commit comments

Comments
 (0)