Skip to content

Commit 1850b4e

Browse files
0xfornaxjshufro
andauthored
Update rocketpool/api/pdao/status.go
Co-authored-by: Jacob Shufro <116244+jshufro@users.noreply.github.com>
1 parent fdc176e commit 1850b4e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

rocketpool/api/pdao/status.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,10 @@ func getStatus(c *cli.Context) (*api.PDAOStatusResponse, error) {
186186
}
187187

188188
// Get the delegated voting power
189-
totalDelegatedVP, _, _, err := propMgr.GetArtifactsForVoting(response.BlockNumber, nodeAccount.Address)
189+
response.TotalDelegatedVp, _, _, err = propMgr.GetArtifactsForVoting(response.BlockNumber, nodeAccount.Address)
190190
if err != nil {
191191
return nil, err
192192
}
193-
response.TotalDelegatedVp = totalDelegatedVP
194193

195194
// Get the local tree
196195
votingTree, err := propMgr.GetNetworkTree(response.BlockNumber, nil)

0 commit comments

Comments
 (0)