Use a single Substrate signer, per intentions in #227

Removes key from Update as well, since it's no longer variable.
This commit is contained in:
Luke Parker
2023-08-24 20:30:50 -04:00
parent b91bd44476
commit bccdabb53d
8 changed files with 33 additions and 47 deletions

View File

@@ -569,7 +569,7 @@ pub async fn handle_processors<D: Db, Pro: Processors, P: P2p>(
}
},
ProcessorMessage::Substrate(inner_msg) => match inner_msg {
processor_messages::substrate::ProcessorMessage::Update { key: _, batch } => {
processor_messages::substrate::ProcessorMessage::Update { batch } => {
assert_eq!(
batch.batch.network, msg.network,
"processor sent us a batch for a different network than it was for",