Fix typos in various files
This commit is contained in:
committed by
Dimitris Apostolou
parent
a69c713f8e
commit
57c0b1ed9f
@@ -1255,7 +1255,7 @@ bool Blockchain::create_block_template(block& b, const account_public_address& m
|
||||
cumulative_size = txs_size + coinbase_blob_size;
|
||||
#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
|
||||
MDEBUG("Creating block template: miner tx size " << coinbase_blob_size <<
|
||||
", cumulative size " << cumulative_size << " is greater then before");
|
||||
", cumulative size " << cumulative_size << " is greater than before");
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
@@ -1266,7 +1266,7 @@ bool Blockchain::create_block_template(block& b, const account_public_address& m
|
||||
#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
|
||||
MDEBUG("Creating block template: miner tx size " << coinbase_blob_size <<
|
||||
", cumulative size " << txs_size + coinbase_blob_size <<
|
||||
" is less then before, adding " << delta << " zero bytes");
|
||||
" is less than before, adding " << delta << " zero bytes");
|
||||
#endif
|
||||
b.miner_tx.extra.insert(b.miner_tx.extra.end(), delta, 0);
|
||||
//here could be 1 byte difference, because of extra field counter is varint, and it can become from 1-byte len to 2-bytes len.
|
||||
|
||||
Reference in New Issue
Block a user