fixes after my own review

This commit is contained in:
Anton Kaliaev
2017-12-06 18:28:14 -06:00
parent c6f025f40e
commit 5cb936fa00
3 changed files with 24 additions and 18 deletions

View File

@ -42,11 +42,11 @@ func TestWALEncoderDecoder(t *testing.T) {
}
func TestSearchForEndHeight(t *testing.T) {
walBody, err := GenWAL(6)
walBody, err := WALWithNBlocks(6)
if err != nil {
t.Fatal(err)
}
walFile := writeWAL(walBody)
walFile := tempWALWithData(walBody)
wal, err := NewWAL(walFile, false)
if err != nil {