diff --git a/app/app.go b/app/app.go index 94609aa8..28284bb1 100644 --- a/app/app.go +++ b/app/app.go @@ -348,6 +348,17 @@ func NewCRUDApp( app.slashingKeeper.Hooks()), ) + laddr, _ := getRpcLadder(DefaultNodeHome) + + app.curiumKeeper = curium.NewKeeper( + app.cdc, + keys[curium.StoreKey], + keys[curium.MemStoreKey], + laddr, + app.accountKeeper, + app.gasMeterKeeper, + ) + // The CrudKeeper is the Keeper from the module // It handles interactions with the namestore app.crudKeeper = crud.NewKeeper( @@ -393,16 +404,7 @@ func NewCRUDApp( app.supplyKeeper, ) - laddr, _ := getRpcLadder(DefaultNodeHome) - app.curiumKeeper = curium.NewKeeper( - app.cdc, - keys[curium.StoreKey], - keys[curium.MemStoreKey], - laddr, - app.accountKeeper, - app.gasMeterKeeper, - ) nftFileDir, _ := getNftFileDir(DefaultNodeHome) nft2P2pPort, _ := getNftP2PPort(DefaultNodeHome) @@ -410,7 +412,6 @@ func NewCRUDApp( msgBroadcaster := app.curiumKeeper.NewMsgBroadcaster(DefaultCLIHome, cdc) - app.nftKeeper = nft.NewKeeper( app.cdc, keys[nft.StoreKey],