From 493c0e80969ee87aa1e80c2917d6340511f6ba41 Mon Sep 17 00:00:00 2001 From: Emmanuel T Odeke Date: Sun, 30 Jun 2024 04:57:56 +0300 Subject: [PATCH] Update distribution.go Co-authored-by: Tuan Tran --- x/participationrewards/keeper/distribution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/participationrewards/keeper/distribution.go b/x/participationrewards/keeper/distribution.go index 0ed66388e..3c6f4418e 100644 --- a/x/participationrewards/keeper/distribution.go +++ b/x/participationrewards/keeper/distribution.go @@ -37,7 +37,7 @@ func DepthFirstSearch(graph AssetGraph, visited map[string]struct{}, asset strin func (k *Keeper) CalcTokenValues(ctx sdk.Context) (TokenValues, error) { k.Logger(ctx).Info("calcTokenValues") - data, osmoParams, err := GetAndUnmarshalProtocolData[*types.OsmosisParamsProtocolData](ctx, "osmosisparams", types.ProtocolDataTypeOsmosisParams) + data, osmoParams, err := GetAndUnmarshalProtocolData[*types.OsmosisParamsProtocolData](ctx, k, "osmosisparams", types.ProtocolDataTypeOsmosisParams) if err != nil { return TokenValues{}, err }