lbryio/chainquery

View on GitHub
lbrycrd/client.go

Summary

Maintainability
A
35 mins
Test Coverage

Function decodeFloat has 5 return statements (exceeds 4 allowed).
Open

func decodeFloat(data interface{}) (interface{}, error) {
    if n, ok := data.(json.Number); ok {
        val, err := n.Float64()
        if err != nil {
            return nil, errors.Wrap(err, 0)
Severity: Major
Found in lbrycrd/client.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status