Skip to content

Commit

Permalink
fix(SPV-1106): fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Oct 22, 2024
1 parent b4f3c49 commit f9b0bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/http/endpoints/api/merkleroots/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (h *handler) merkleroots(c *gin.Context) {

batchSizeInt, err := strconv.Atoi(batchSize)
if err != nil || batchSizeInt < 0 {
bhserrors.ErrorResponse(c, bhserrors.ErrMerklerootInvalidBatchSize.Wrap(err), h.log)
bhserrors.ErrorResponse(c, bhserrors.ErrInvalidBatchSize.Wrap(err), h.log)
return
}

Expand Down

0 comments on commit f9b0bde

Please sign in to comment.