forked from TrueCloudLab/neoneo-go
core: remove ineffective assignment from test code
Spotted by goreport: Line 89: warning: ineffectual assignment to hash (ineffassign)
This commit is contained in:
parent
8388f4a55e
commit
22bea5eccf
1 changed files with 0 additions and 1 deletions
|
@ -86,7 +86,6 @@ func TestGetHeader(t *testing.T) {
|
||||||
assert.Equal(t, block.Header(), header)
|
assert.Equal(t, block.Header(), header)
|
||||||
|
|
||||||
block = newBlock(2)
|
block = newBlock(2)
|
||||||
hash = block.Hash()
|
|
||||||
_, err = bc.GetHeader(block.Hash())
|
_, err = bc.GetHeader(block.Hash())
|
||||||
assert.Error(t, err)
|
assert.Error(t, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue