mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 07:43:11 +00:00
fix sequencer runner
This commit is contained in:
parent
e07733e5c3
commit
9b4506de3b
@ -7,6 +7,13 @@
|
||||
"block_create_timeout_millis": 10000,
|
||||
"port": 3040,
|
||||
"initial_accounts": [
|
||||
|
||||
{
|
||||
"addr": "1b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f",
|
||||
"balance": 10000
|
||||
},
|
||||
{
|
||||
"addr": "4d4b6cd1361032ca9bd2aeb9d900aa4d45d9ead80ac9423374c451a7254d0766",
|
||||
"balance": 20000
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,7 +75,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(())
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user