aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/blocks-generator_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-17 17:45:49 +0800
committerGitHub <noreply@github.com>2018-09-17 17:45:49 +0800
commit8a908e98279d7e80978cd412057eddd4a6bbf06c (patch)
tree4e28f76fd95814978210c6f38ec4a09988e76957 /core/test/blocks-generator_test.go
parentcbf0012603deb6d2b8c257c079de98792f7b84cf (diff)
downloaddexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.gz
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.bz2
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.lz
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.xz
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.zst
dexon-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.zip
core: move blockdb into core package and minor change on governance interface (#110)
Since third party apps will possibly implement their only blockdb class, it make sense for the interface to be in core. Also add GetNumShards into the governance interface.
Diffstat (limited to 'core/test/blocks-generator_test.go')
-rw-r--r--core/test/blocks-generator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/blocks-generator_test.go b/core/test/blocks-generator_test.go
index d46a082..e607796 100644
--- a/core/test/blocks-generator_test.go
+++ b/core/test/blocks-generator_test.go
@@ -21,8 +21,8 @@ import (
"sort"
"testing"
- "github.com/dexon-foundation/dexon-consensus-core/blockdb"
"github.com/dexon-foundation/dexon-consensus-core/common"
+ "github.com/dexon-foundation/dexon-consensus-core/core/blockdb"
"github.com/dexon-foundation/dexon-consensus-core/core/types"
"github.com/stretchr/testify/suite"
)