Rebase onto develop

This commit is contained in:
Christopher Goes 2018-04-19 13:52:57 +02:00
parent 7f38f34709
commit d2fa76aa37
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 0 additions and 11 deletions

View File

@ -33,17 +33,6 @@ func NewKeeper(cdc *wire.Codec, key sdk.StoreKey, ck bank.CoinKeeper, codespace
return keeper
}
// InitGenesis - store genesis parameters
func (k Keeper) InitGenesis(ctx sdk.Context, data json.RawMessage) error {
var state GenesisState
if err := json.Unmarshal(data, &state); err != nil {
return err
}
k.setPool(ctx, state.Pool)
k.setParams(ctx, state.Params)
return nil
}
// get the current counter
func (k Keeper) getCounter(ctx sdk.Context) int64 {
store := ctx.KVStore(k.storeKey)