Fix geth blocktest command

This commit is contained in:
Taylor Gerring
2015-06-11 12:20:30 -04:00
parent 6931267324
commit 8507c867b9
2 changed files with 3 additions and 2 deletions

View File

@@ -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