From 7a23e94e9df7f89c7ffea163668f07caf4ce3b7b Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Fri, 13 Jan 2023 08:26:47 -0600 Subject: [PATCH] Remove extraneous comments --- forum-network/src/classes/forum.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/forum-network/src/classes/forum.js b/forum-network/src/classes/forum.js index bd5a5a3..2e143a6 100644 --- a/forum-network/src/classes/forum.js +++ b/forum-network/src/classes/forum.js @@ -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