Skip to content

Commit

Permalink
Remove POW inclusion reward steemit#551
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemaster committed Nov 5, 2016
1 parent bbad220 commit 45874e3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1546,12 +1546,14 @@ void pow2_evaluator::do_apply( const pow2_operation& o ) {
});
}

/// pay the witness that includes this POW
asset inc_reward = db.get_pow_reward();
db.adjust_supply( inc_reward, true );
if( !db.has_hardfork( STEEMIT_HARDFORK_0_16 ) ) {
/// pay the witness that includes this POW
asset inc_reward = db.get_pow_reward();
db.adjust_supply( inc_reward, true );

const auto& inc_witness = db.get_account( dgp.current_witness );
db.create_vesting( inc_witness, inc_reward );
const auto& inc_witness = db.get_account( dgp.current_witness );
db.create_vesting( inc_witness, inc_reward );
}
}

void feed_publish_evaluator::do_apply( const feed_publish_operation& o )
Expand Down

0 comments on commit 45874e3

Please sign in to comment.