cmd: various golint fixes (#16700)

* cmd: various golint fixes

* cmd: update to pr change request

* cmd: update to pr change request
This commit is contained in:
kiel barry
2018-05-09 00:38:03 -07:00
committed by Péter Szilágyi
parent c60f6f6214
commit 4ea493e7eb
5 changed files with 28 additions and 24 deletions

View File

@ -32,6 +32,8 @@ type JSONLogger struct {
cfg *vm.LogConfig
}
// NewJSONLogger creates a new EVM tracer that prints execution steps as JSON objects
// into the provided stream.
func NewJSONLogger(cfg *vm.LogConfig, writer io.Writer) *JSONLogger {
return &JSONLogger{json.NewEncoder(writer), cfg}
}