mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 21:49:26 +00:00
Implement block proposal logic
This commit is contained in:
@@ -318,7 +318,7 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||
};
|
||||
debug_assert!(machine.network.read().await.verify_commit(block.id(), &commit));
|
||||
|
||||
let proposal = machine.network.write().await.add_block(block, commit);
|
||||
let proposal = machine.network.write().await.add_block(block, commit).await;
|
||||
machine.reset(proposal).await;
|
||||
}
|
||||
Err(TendermintError::Malicious(validator)) => {
|
||||
|
||||
Reference in New Issue
Block a user