Remove extraneous comments
This commit is contained in:
parent
ea087451ff
commit
7a23e94e9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue