From 8507c867b9cca2b1d59182baea90ab2844d494a0 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Thu, 11 Jun 2015 12:20:30 -0400 Subject: Fix geth blocktest command --- tests/block_test_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/block_test_util.go') diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 7db47566b..787056b89 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -85,7 +85,7 @@ type btTransaction struct { } func RunBlockTest(filepath string) error { - bt, err := loadBlockTests(filepath) + bt, err := LoadBlockTests(filepath) if err != nil { return err } @@ -449,7 +449,7 @@ func mustConvertUint(in string, base int) uint64 { return out } -func loadBlockTests(file string) (map[string]*BlockTest, error) { +func LoadBlockTests(file string) (map[string]*BlockTest, error) { bt := make(map[string]*btJSON) if err := readTestFile(file, &bt); err != nil { return nil, err -- cgit v1.2.3