Skip to content

Commit

Permalink
chore: use new total stake method
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Dec 20, 2024
1 parent 08de954 commit 117440d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/query/keeper/grpc_account_funded.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (k Keeper) AccountFundedList(goCtx context.Context, req *types.QueryAccount
InflationShareWeight: pool.InflationShareWeight,
UploadInterval: pool.UploadInterval,
TotalFunds: k.fundersKeeper.GetTotalActiveFunding(ctx, pool.Id),
TotalStake: k.delegationKeeper.GetDelegationOfPool(ctx, pool.Id),
TotalStake: k.stakerKeeper.GetTotalStakeOfPool(ctx, pool.Id),
Status: k.GetPoolStatus(ctx, &pool),
},
})
Expand Down

0 comments on commit 117440d

Please sign in to comment.