diff --git a/x/nameservice/keeper/keeper.go b/x/nameservice/keeper/keeper.go index be86d0b4..d951e8ea 100644 --- a/x/nameservice/keeper/keeper.go +++ b/x/nameservice/keeper/keeper.go @@ -107,7 +107,7 @@ func (k Keeper) GetRecord(ctx sdk.Context, id string) (record types.Record) { store := ctx.KVStore(k.storeKey) result := store.Get(GetRecordIndexKey(id)) k.cdc.MustUnmarshal(result, &record) - return record + return recordObjToRecord(store, record) } // ListRecords - get all records.