core: remove ineffective assignment from test code

Spotted by goreport:
  Line 89: warning: ineffectual assignment to hash (ineffassign)
This commit is contained in:
Roman Khimov 2019-09-03 18:17:44 +03:00
parent 8388f4a55e
commit 22bea5eccf

View file

@ -86,7 +86,6 @@ func TestGetHeader(t *testing.T) {
assert.Equal(t, block.Header(), header)
block = newBlock(2)
hash = block.Hash()
_, err = bc.GetHeader(block.Hash())
assert.Error(t, err)
}