simplify output

This commit is contained in:
Ladd Hoffman 2022-11-17 08:44:57 -06:00
parent e7120f87b1
commit 64a2feeaa8
1 changed files with 5 additions and 3 deletions

View File

@ -16,9 +16,11 @@ const updateDisplayValues = async () => {
member1.setValue('rep', bench.reputations.getTokens(member1.reputationPublicKey));
member2.setValue('rep', bench.reputations.getTokens(member2.reputationPublicKey));
bench.setValue('total rep', bench.getTotalReputation());
bench.setValue('available rep', bench.getTotalAvailableReputation());
bench.setValue('active rep', bench.getTotalActiveReputation());
bench.setValue('active available rep', bench.getTotalActiveAvailableReputation());
// With params.lockingTimeExponent = 0 and params.activeVoterThreshold = null,
// these next 3 propetries are all equal to total rep
// bench.setValue('available rep', bench.getTotalAvailableReputation());
// bench.setValue('active rep', bench.getTotalActiveReputation());
// bench.setValue('active available rep', bench.getTotalActiveAvailableReputation());
await scene.renderSequenceDiagram();
};