fix glide. basecoin doesnt compile ...

This commit is contained in:
Ethan Buchman
2018-01-13 12:37:00 -05:00
parent 2d56729a1f
commit d2a801a513
2 changed files with 9 additions and 9 deletions
+5 -4
View File
@@ -4,9 +4,11 @@ import (
"fmt"
"os"
"github.com/cosmos/cosmos-sdk/app"
"github.com/cosmos/cosmos-sdk/store"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/bank"
"github.com/tendermint/abci/server"
"github.com/tendermint/go-wire"
cmn "github.com/tendermint/tmlibs/common"
@@ -17,9 +19,6 @@ import (
func main() {
// First, create the Application.
app := sdk.NewApp("basecoin")
// Create the underlying leveldb datastore which will
// persist the Merkle tree inner & leaf nodes.
db, err := dbm.NewGoLevelDB("basecoin", "basecoin-data")
@@ -42,7 +41,9 @@ func main() {
multiStore := store.NewCommitMultiStore(db)
multiStore.SetSubstoreLoader(mainStoreKey, mainLoader)
multiStore.SetSubstoreLoader(ibcStoreKey, ibcLoader)
app.SetCommitMultiStore(multiStore)
// Create the Application.
app := app.NewApp("basecoin", multiStore)
// Set Tx decoder
app.SetTxDecoder(decodeTx)