aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-12 00:20:30 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:20:45 +0800
commit8507c867b9cca2b1d59182baea90ab2844d494a0 (patch)
tree00b4e2580b7dc012cf2e71f12fcf87d2a0d7a617 /tests
parent6931267324a4cb00d1edf0b8e85333b744882c2d (diff)
downloaddexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.gz
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.bz2
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.lz
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.xz
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.zst
dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.zip
Fix geth blocktest command
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test_util.go4
1 files changed, 2 insertions, 2 deletions
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