Skip to content

Commit

Permalink
Delete console.log in contract
Browse files Browse the repository at this point in the history
  • Loading branch information
weiqiushi committed Dec 29, 2023
1 parent 3960a17 commit d619587
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/public_data_storage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,7 @@ contract PublicDataStorage {
uint256 data_score = _getRewardScore(scoreListRanking);
// 如果数据总量不足32,那么多余的奖励沉淀在合约账户中
uint256 dataReward = totalReward * data_score / totalRewardScore;
//console.log("data score %d reward %d", data_score, dataReward);
uint256 reward = _calcuteReward(withdrawUser, dataReward, dataInfo.last_showers.length);
console.log("%s withdraw %d", msg.sender, reward);
gwtToken.transfer(msg.sender, reward);

// 设置已取标志
Expand Down

0 comments on commit d619587

Please sign in to comment.