genesis wip compiles

This commit is contained in:
rigelrozanski
2018-02-08 10:36:37 +00:00
parent da538a8bf6
commit 7643dea255
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -30,9 +30,10 @@ func (app *BasecoinApp) initBaseAppTxDecoder() {
// used to define the custom logic for initialization
func (app *BasecoinApp) initBaseAppInitStater() {
accountMapper := app.accountMapper
//accountMapper := app.accountMapper
app.BaseApp.SetInitStater(func(ctx sdk.Context, stateJSON []byte) sdk.Error {
// TODO: parse JSON
//accountMapper.SetAccount(ctx, ...)
return nil
})
}