Move SignCompleted to Unsigned to cause de-duplication amongst honest validators

This commit is contained in:
Luke Parker
2023-08-31 23:39:36 -04:00
parent 9b7cb688ed
commit 5113ab9ec4
6 changed files with 97 additions and 26 deletions

View File

@@ -101,7 +101,6 @@ async fn handle_key_gen<Pro: Processors>(
key_pair: KeyPair,
) -> Result<(), SeraiError> {
if in_set(key, serai, set).await?.expect("KeyGen occurred for a set which doesn't exist") {
// TODO: Check how the processor handles this being fired multiple times
processors
.send(
set.network,
@@ -196,7 +195,6 @@ async fn handle_batch_and_burns<Pro: Processors>(
.expect("network had a batch/burn yet never set a latest block")
};
// TODO: Check how the processor handles this being fired multiple times
processors
.send(
network,