diff --git a/libraries/chain/database.cpp b/libraries/chain/database.cpp index 012caba16c..b0917ea51a 100644 --- a/libraries/chain/database.cpp +++ b/libraries/chain/database.cpp @@ -2447,7 +2447,7 @@ namespace golos { namespace chain { // pay needed claim + rest unclaimed tokens (close to zero value) to curator with greates weight // BTW: it has to be unclaimed_rewards.value not heaviest_vote_after_auw_weight + unclaimed_rewards.value, coz // unclaimed_rewards already contains this. - actual_rewards = pay_curator(*heaviest_itr->vote, unclaimed_rewards.value, c.comment.author, to_string(c.comment.permlink)); + actual_rewards += pay_curator(*heaviest_itr->vote, unclaimed_rewards.value, c.comment.author, to_string(c.comment.permlink)); unclaimed_rewards = 0; } }