lncm/invoicer

View on GitHub
bitcoind/client.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Bitcoind.sendRequest has 7 return statements (exceeds 4 allowed).
Open

func (b Bitcoind) sendRequest(method string, params ...interface{}) (response []byte, err error) {
    reqBody, err := json.Marshal(requestBody{
        JSONRPC: "1.0",
        Method:  method,
        Params:  params,
Severity: Major
Found in bitcoind/client.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status