mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Pulse: Handle block generation failure
This commit is contained in:
parent
2588a465cb
commit
9a0538bd88
1 changed files with 3 additions and 2 deletions
|
@ -1360,9 +1360,10 @@ event_loop wait_for_signed_blocks(round_context &context, void *quorumnet_state,
|
|||
}
|
||||
|
||||
// Propagate Final Block
|
||||
MINFO(log_prefix(context) << "Final signed block received\n" << cryptonote::obj_to_json_str(final_block));
|
||||
MINFO(log_prefix(context) << "Final signed block constructed\n" << cryptonote::obj_to_json_str(final_block));
|
||||
cryptonote::block_verification_context bvc = {};
|
||||
core.handle_block_found(final_block, bvc);
|
||||
if (!core.handle_block_found(final_block, bvc))
|
||||
return goto_preparing_for_next_round(context);
|
||||
|
||||
context.state = round_state::wait_for_next_block;
|
||||
return event_loop::keep_running;
|
||||
|
|
Loading…
Reference in a new issue