Remove extraneous comments

This commit is contained in:
Ladd Hoffman 2023-01-13 08:26:47 -06:00
parent ea087451ff
commit 7a23e94e9d
1 changed files with 0 additions and 12 deletions

View File

@ -113,7 +113,6 @@ export class Forum extends Actor {
// Apply leaching value
const incrementAfterLeaching = increment - (totalOutboundAmount - refundFromOutbound) * params.leachingValue;
// const adjustedIncrement = increment - outboundReferencesTotal + refundFromOutbound;
// Prevent value from decreasing below zero
const rawNewValue = post.value + incrementAfterLeaching;
@ -124,17 +123,6 @@ export class Forum extends Actor {
const appliedIncrement = newValue - post.value;
// Award reputation to post author
console.log(`reward for post author ${post.authorPublicKey}`, {
increment,
totalOutboundAmount,
refundFromOutbound,
incrementAfterLeaching,
rawNewValue,
newValue,
appliedIncrement,
refundToInbound,
});
rewardsAccumulator.set(post.authorPublicKey, appliedIncrement);
// Increment the value of the post