OSDN Git Service

add error code for veto (#219)
[bytom/vapor.git] / database / store_test.go
index 68f62c3..ea009eb 100644 (file)
@@ -221,7 +221,7 @@ func TestSaveBlock(t *testing.T) {
        }
 
        blockHash := block.Hash()
-       gotBlock, err := store.GetBlock(&blockHash)
+       gotBlock, err := store.GetBlock(&blockHash, block.Height)
        if err != nil {
                t.Fatal(err)
        }