Skip to content

Commit

Permalink
Partially revert 35e061a, unconditionally sign pow2 #256
Browse files Browse the repository at this point in the history
  • Loading branch information
theoreticalbts committed Aug 12, 2016
1 parent 42d0523 commit 6958b0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/plugins/witness/witness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,7 @@ void witness_plugin::start_mining( const fc::ecc::public_key& pub, const fc::ecc
trx.ref_block_num = head_block_num;
trx.ref_block_prefix = work.input.prev_block._hash[1];
trx.set_expiration( head_block_time + STEEMIT_MAX_TIME_UNTIL_EXPIRATION );
if( has_account )
trx.sign( pk, STEEMIT_CHAIN_ID );
trx.sign( pk, STEEMIT_CHAIN_ID );
mainthread->async( [this,miner,trx](){
try {
database().push_transaction( trx );
Expand Down

0 comments on commit 6958b0c

Please sign in to comment.