Plan scheduled payments whenever outputs are received

The scheduler prior waited for the next series of payments to be added.
This commit is contained in:
Luke Parker
2023-04-13 15:40:06 -04:00
parent a509dbfad6
commit 9bea368d36
2 changed files with 24 additions and 16 deletions

View File

@@ -394,6 +394,7 @@ async fn run<C: Coin, D: Db, Co: Coordinator>(raw_db: D, coin: C, mut coordinato
CoordinatorMessage::Substrate(msg) => {
match msg {
// TODO: Merge this with Burns so we don't have two distinct scheduling actions
messages::substrate::CoordinatorMessage::BlockAcknowledged {
context,
key: key_vec,