Address comments

I hope this is correct. I'm feely pretty dizzy right now from the fish
food.
This commit is contained in:
Adrian Brink
2018-03-29 20:44:56 +02:00
parent 243564c233
commit fcc8a9a415
3 changed files with 24 additions and 16 deletions
+4 -4
View File
@@ -71,10 +71,10 @@ func NewBasecoinApp(logger log.Logger, dbMain, dbAcc, dbIBC, dbStaking dbm.DB) *
// initialize BaseApp
app.SetTxDecoder(app.txDecoder)
app.SetInitChainer(app.initChainer)
app.MountStore(app.capKeyMainStore, sdk.StoreTypeIAVL, dbMain)
app.MountStore(app.capKeyAccountStore, sdk.StoreTypeIAVL, dbAcc)
app.MountStore(app.capKeyIBCStore, sdk.StoreTypeIAVL, dbIBC)
app.MountStore(app.capKeyStakingStore, sdk.StoreTypeIAVL, dbStaking)
app.MountStoreWithDB(app.capKeyMainStore, sdk.StoreTypeIAVL, dbMain)
app.MountStoreWithDB(app.capKeyAccountStore, sdk.StoreTypeIAVL, dbAcc)
app.MountStoreWithDB(app.capKeyIBCStore, sdk.StoreTypeIAVL, dbIBC)
app.MountStoreWithDB(app.capKeyStakingStore, sdk.StoreTypeIAVL, dbStaking)
// NOTE: Broken until #532 lands
//app.MountStoresIAVL(app.capKeyMainStore, app.capKeyIBCStore, app.capKeyStakingStore)
app.SetAnteHandler(auth.NewAnteHandler(app.accountMapper))