database: Remove obsolete retry_on_failure parameter

This commit is contained in:
theoreticalbts 2015-09-24 18:28:22 -04:00
parent f972cff9d7
commit 0d7baa2b52
2 changed files with 3 additions and 5 deletions

View file

@ -273,7 +273,7 @@ signed_block database::generate_block(
signed_block result; signed_block result;
detail::with_skip_flags( *this, skip, [&]() detail::with_skip_flags( *this, skip, [&]()
{ {
result = _generate_block( when, witness_id, block_signing_private_key, true ); result = _generate_block( when, witness_id, block_signing_private_key );
} ); } );
return result; return result;
} }
@ -281,8 +281,7 @@ signed_block database::generate_block(
signed_block database::_generate_block( signed_block database::_generate_block(
fc::time_point_sec when, fc::time_point_sec when,
witness_id_type witness_id, witness_id_type witness_id,
const fc::ecc::private_key& block_signing_private_key, const fc::ecc::private_key& block_signing_private_key
bool retry_on_failure
) )
{ {
try { try {

View file

@ -141,8 +141,7 @@ namespace graphene { namespace chain {
signed_block _generate_block( signed_block _generate_block(
const fc::time_point_sec when, const fc::time_point_sec when,
witness_id_type witness_id, witness_id_type witness_id,
const fc::ecc::private_key& block_signing_private_key, const fc::ecc::private_key& block_signing_private_key
bool retry_on_failure
); );
void pop_block(); void pop_block();