Merge pull request #109 from vacp2p/schouhy/fix-sequencer-runner

Fix sequencer runner
This commit is contained in:
Sergio Chouhy 2025-09-18 12:12:21 -03:00 committed by GitHub
commit ec55e00049
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 3 deletions

View File

@ -7,6 +7,13 @@
"block_create_timeout_millis": 10000,
"port": 3040,
"initial_accounts": [
{
"addr": "1b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f",
"balance": 10000
},
{
"addr": "4d4b6cd1361032ca9bd2aeb9d900aa4d45d9ead80ac9423374c451a7254d0766",
"balance": 20000
}
]
}

View File

@ -77,7 +77,9 @@ pub async fn main_runner() -> Result<()> {
}
//ToDo: Add restart on failures
let (_, _) = startup_sequencer(app_config).await?;
let (_, main_loop_handle) = startup_sequencer(app_config).await?;
main_loop_handle.await??;
Ok(())
}