simplify output
This commit is contained in:
parent
e7120f87b1
commit
64a2feeaa8
|
@ -16,9 +16,11 @@ const updateDisplayValues = async () => {
|
||||||
member1.setValue('rep', bench.reputations.getTokens(member1.reputationPublicKey));
|
member1.setValue('rep', bench.reputations.getTokens(member1.reputationPublicKey));
|
||||||
member2.setValue('rep', bench.reputations.getTokens(member2.reputationPublicKey));
|
member2.setValue('rep', bench.reputations.getTokens(member2.reputationPublicKey));
|
||||||
bench.setValue('total rep', bench.getTotalReputation());
|
bench.setValue('total rep', bench.getTotalReputation());
|
||||||
bench.setValue('available rep', bench.getTotalAvailableReputation());
|
// With params.lockingTimeExponent = 0 and params.activeVoterThreshold = null,
|
||||||
bench.setValue('active rep', bench.getTotalActiveReputation());
|
// these next 3 propetries are all equal to total rep
|
||||||
bench.setValue('active available rep', bench.getTotalActiveAvailableReputation());
|
// bench.setValue('available rep', bench.getTotalAvailableReputation());
|
||||||
|
// bench.setValue('active rep', bench.getTotalActiveReputation());
|
||||||
|
// bench.setValue('active available rep', bench.getTotalActiveAvailableReputation());
|
||||||
await scene.renderSequenceDiagram();
|
await scene.renderSequenceDiagram();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue