diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-06-05 18:31:34 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-06-05 18:31:34 +0800 |
commit | cbfb40b0aab093e1b612f3b16834894b2cc67882 (patch) | |
tree | 19cbd1397343459aabf211857fcc5df26f4cee6c /tests/block_test_util.go | |
parent | 4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (diff) | |
download | dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.gz dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.zst dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.zip |
params: fix golint warnings (#16853)
params: fix golint warnings
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r-- | tests/block_test_util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go index a72799f6e..2db47da57 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -42,6 +42,7 @@ type BlockTest struct { json btJSON } +// UnmarshalJSON implements json.Unmarshaler interface. func (t *BlockTest) UnmarshalJSON(in []byte) error { return json.Unmarshal(in, &t.json) } |