Finish updating to the latest Rust/handle broken cargo update

This commit is contained in:
Luke Parker
2023-04-01 05:44:18 -04:00
parent 3f4bab7f7b
commit 648d237df5
3 changed files with 12 additions and 12 deletions

View File

@@ -333,7 +333,8 @@ async fn run<C: Coin, D: Db, Co: Coordinator>(raw_db: D, coin: C, mut coordinato
match msg.msg.clone() {
CoordinatorMessage::KeyGen(msg) => {
match key_gen.handle(msg).await {
KeyGenEvent::KeyConfirmed { activation_number, substrate_keys, coin_keys } => {
// TODO: Handle substrate_keys
KeyGenEvent::KeyConfirmed { activation_number, substrate_keys: _, coin_keys } => {
let keys = coin_keys;
let key = keys.group_key();
scanner.rotate_key(activation_number, key).await;