Greed Mode (this branch could be broken) #115
Annotations
10 errors
lint:
main.go#L357
`if resp.Code != 0` has complex nested blocks (complexity: 8) (nestif)
|
lint:
main.go#L444
func `displayStats` is unused (unused)
|
lint:
broadcast/broadcast.go#L125
string `rpc` has 4 occurrences, make it a constant (goconst)
|
lint:
broadcast/broadcast.go#L116
string `grpc` has 4 occurrences, make it a constant (goconst)
|
lint:
broadcast/broadcast.go#L127
string `api` has 4 occurrences, make it a constant (goconst)
|
lint:
broadcast/transaction.go#L29
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
broadcast/client.go#L128
exported: type name will be used as broadcast.BroadcastMetrics by other packages, and that stutters; consider calling this Metrics (revive)
|
lint:
broadcast/client.go#L131
var-naming: struct field RpcCallStart should be RPCCallStart (revive)
|
lint:
broadcast/client.go#L17
field `client` is unused (unused)
|
lint:
broadcast/broadcast.go#L124
ineffectual assignment to err (ineffassign)
|