storage: begin implementing sqlite3 storage

This commit is contained in:
George Tankersley
2018-11-18 03:02:49 +00:00
parent 7cc7095a81
commit 0dee0b425e
9 changed files with 158 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"os"
"testing"
@@ -57,12 +56,12 @@ func TestCompactBlocks(t *testing.T) {
blockJSON, err := ioutil.ReadFile("testdata/compact_blocks.json")
if err != nil {
log.Fatal(err)
t.Fatal(err)
}
err = json.Unmarshal(blockJSON, &compactTests)
if err != nil {
log.Fatal(err)
t.Fatal(err)
}
for _, test := range compactTests {