From 8a908e98279d7e80978cd412057eddd4a6bbf06c Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 17 Sep 2018 17:45:49 +0800 Subject: 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. --- core/test/blocks-generator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/test/blocks-generator_test.go') 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" ) -- cgit v1.2.3