diff options
author | Guillaume Ballet <gballet@gmail.com> | 2018-01-26 19:45:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-01-26 19:45:10 +0800 |
commit | 367c329b88617a2831a9fe20f7b47bb6ab7e255d (patch) | |
tree | ea18962e98de8dd30a2907d8ff0e88de0dc1ffe8 /consensus/clique/snapshot_test.go | |
parent | 2ef3815af41c7a12dd798416b4a5ae74c09706c8 (diff) | |
download | go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar.gz go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar.bz2 go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar.lz go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar.xz go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.tar.zst go-tangerine-367c329b88617a2831a9fe20f7b47bb6ab7e255d.zip |
whisper: remove linter warnings (#15972)
* whisper: fixes warnings from the code linter
* whisper: more non-API-breaking changes
The remaining lint errors are because of auto-generated
files and one is because an exported function has a non-
exported return type. Changing this would break the API,
and will be part of another commit for easier reversal.
* whisper: un-export NewSentMessage to please the linter
This is an API change, which is why it's in its own commit.
This change was initiated after the linter complained that
the returned type wasn't exported. I chose to un-export
the function instead of exporting the type, because that
type is an implementation detail that I would like to
change in the near future to make the code more
readable and with an increased coverage.
* whisper: update gencodec output after upgrading it to new lint standards
Diffstat (limited to 'consensus/clique/snapshot_test.go')
0 files changed, 0 insertions, 0 deletions