Document how receiving a Processor message does indeed make its Tributary relevant

This commit is contained in:
Luke Parker
2023-09-28 20:04:20 -04:00
parent 4d1212ec65
commit 83b3a5c31c
2 changed files with 16 additions and 4 deletions

View File

@@ -566,6 +566,8 @@ async fn run<N: Network, D: Db, Co: Coordinator>(mut raw_db: D, network: N, mut
}
SignerEvent::SignedTransaction { id, tx } => {
// It is important ProcessorMessage::Completed is only emitted if a Signer we had
// created the TX completed (which having it only emitted after a SignerEvent ensures)
coordinator
.send(ProcessorMessage::Sign(messages::sign::ProcessorMessage::Completed {
key: key.clone(),