diff --git a/packages/reputation-miner/ReputationMiner.js b/packages/reputation-miner/ReputationMiner.js index 208d97690f..98b6b5a342 100644 --- a/packages/reputation-miner/ReputationMiner.js +++ b/packages/reputation-miner/ReputationMiner.js @@ -9,7 +9,7 @@ const PatriciaTree = require("./patricia"); const PatriciaTreeNoHash = require("./patriciaNoHashKey"); const { RetryProvider } = require("../package-utils"); -// We don't need the account address right now for this secret key, but I'm leaving it in in case we +// We don't need the account address right now for this secret key, but I'm leaving it in case we // do in the future. // const accountAddress = "0xbb46703786c2049d4d6dd43f5b4edf52a20fefe4"; const secretKey = "0xe5c050bb6bfdd9c29397b8fe6ed59ad2f7df83d6fd213b473f84b489205d9fc7"; diff --git a/packages/reputation-miner/test/MaliciousReputationMinerClaimNoUserChildReputation.js b/packages/reputation-miner/test/MaliciousReputationMinerClaimNoUserChildReputation.js index efa07f388e..4d794e7c56 100644 --- a/packages/reputation-miner/test/MaliciousReputationMinerClaimNoUserChildReputation.js +++ b/packages/reputation-miner/test/MaliciousReputationMinerClaimNoUserChildReputation.js @@ -48,7 +48,7 @@ class MaliciousReputationMinerClaimNoUserChildReputation extends ReputationMiner // Because the amount is zero (due to our custom getAmount function below), the origin skill proof object and the user child proof object // will have default (zero) values. - // We set the origin proof here here, (because we want to be able to prove that value), but set the child skill key + // We set the origin proof here, (because we want to be able to prove that value), but set the child skill key // (which is checked) and leave the other values alone. // The amount variable represents the change in the reputation being updated, which for a child update is always zero when there is no user child reputation. // The calculation is therefore self-consistent and will be able to pass respondToChallenge.