Unverified Commit fbbafa6a authored by Matt, Park's avatar Matt, Park Committed by GitHub
Browse files

Delete duplicate usage of setGauge at initGenesis (#797)

parent a90b0b0e
Showing with 0 additions and 10 deletions
+0 -10
......@@ -92,16 +92,6 @@ func (k Keeper) SetGaugeWithRefKey(ctx sdk.Context, gauge *types.Gauge) error {
err = k.CreateGaugeRefKeys(ctx, gauge, combinedKeys, activeOrUpcomingGauge)
}
if err != nil {
return err
}
store := ctx.KVStore(k.storeKey)
bz, err := proto.Marshal(gauge)
if err != nil {
return err
}
store.Set(gaugeStoreKey(gauge.Id), bz)
return nil
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment