call it LastResultsHash

This commit is contained in:
Ethan Buchman
2017-12-26 19:53:26 -05:00
parent 801e3dfacf
commit 028ee58580
7 changed files with 23 additions and 32 deletions

View File

@ -70,7 +70,7 @@ func TestValidateBlock(t *testing.T) {
// wrong results hash fails
block = makeBlock(state, 1)
block.ResultsHash = []byte("wrong results hash")
block.LastResultsHash = []byte("wrong results hash")
err = state.ValidateBlock(block)
require.Error(t, err)
}