Tweak ConfirmKeyPair to alleviate database requirements of coordinator

This commit is contained in:
Luke Parker
2023-04-18 01:09:22 -04:00
parent e880ebb5a9
commit 6f3b5f4535
5 changed files with 38 additions and 20 deletions

View File

@@ -124,8 +124,8 @@ async fn handle_key_gen<D: Db, Pro: Processor>(
.await?
.unwrap_or(BlockHash([0; 32])), // TODO: Have the processor override this
},
// TODO: Check the DB for which attempt used this key pair
id: KeyGenId { set, attempt: todo!() },
set,
key_pair,
},
))
.await;