Clean active_transactions::activate_successors signature.
This commit is contained in:
parent
315b77742c
commit
b2607dbabf
2 changed files with 5 additions and 5 deletions
|
@ -179,16 +179,16 @@ void nano::active_transactions::handle_final_votes_confirmation (std::shared_ptr
|
|||
// Next-block activations are only done for blocks with previously active elections
|
||||
if (cemented_bootstrap_count_reached && was_active)
|
||||
{
|
||||
activate_successors (account, block, transaction);
|
||||
activate_successors (transaction, block);
|
||||
}
|
||||
}
|
||||
|
||||
void nano::active_transactions::activate_successors (const nano::account & account, std::shared_ptr<nano::block> const & block, nano::store::read_transaction const & transaction)
|
||||
void nano::active_transactions::activate_successors (nano::store::read_transaction const & transaction, std::shared_ptr<nano::block> const & block)
|
||||
{
|
||||
node.scheduler.priority.activate (account, transaction);
|
||||
node.scheduler.priority.activate (block->account (), transaction);
|
||||
|
||||
// Start or vote for the next unconfirmed block in the destination account
|
||||
if (block->is_send () && !block->destination ().is_zero () && block->destination () != account)
|
||||
if (block->is_send () && !block->destination ().is_zero () && block->destination () != block->account ())
|
||||
{
|
||||
node.scheduler.priority.activate (block->destination (), transaction);
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ private:
|
|||
void process_active_confirmation (nano::store::read_transaction const & transaction, std::shared_ptr<nano::block> const & block, nano::election_status_type status);
|
||||
void handle_final_votes_confirmation (std::shared_ptr<nano::block> const & block, nano::store::read_transaction const & transaction, nano::election_status_type status);
|
||||
void handle_confirmation (nano::store::read_transaction const & transaction, std::shared_ptr<nano::block> const & block, std::shared_ptr<nano::election> election, nano::election_status_type status);
|
||||
void activate_successors (const nano::account & account, std::shared_ptr<nano::block> const & block, nano::store::read_transaction const & transaction);
|
||||
void activate_successors (nano::store::read_transaction const & transaction, std::shared_ptr<nano::block> const & block);
|
||||
void notify_observers (nano::store::read_transaction const & transaction, nano::election_status const & status, std::vector<nano::vote_with_weight_info> const & votes);
|
||||
|
||||
private: // Dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue