Skip to content

Commit 5db4ef8

Browse files
committed
Cleanup sub mapping registry
1 parent d689b9f commit 5db4ef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/subgraph/src/mappings/cv-strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ export function handlePointsDeactivated(event: PointsDeactivated): void {
250250
}
251251
let prop = contractProposal.value;
252252
const maxConviction = cvc.getMaxConviction(
253-
prop.value4 // proposalStakedAmount
253+
prop.getStakedAmount()
254254
);
255255
proposal.maxCVStaked = maxConviction;
256-
proposal.convictionLast = prop.value7; // convictionLast
256+
proposal.convictionLast = prop.getConvictionLast();
257257

258258
proposal.save();
259259
const memberStrategyId = `${member.id}-${strategy.id}`;

0 commit comments

Comments
 (0)