Skip to content

Commit

Permalink
chore(sidecar): add most imporant feature -- ascii art on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 23, 2024
1 parent 8abc971 commit 77265a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bolt-sidecar/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,15 @@ impl<C: StateFetcher, ECDSA: SignerECDSA> SidecarDriver<C, ECDSA> {
/// Any errors encountered are contained to the specific `handler` in which
/// they occurred, and the driver will continue to run as long as possible.
pub async fn run_forever(mut self) -> ! {
const BOLT: &str = r#"
██████╗ ██████╗ ██╗ ████████╗
██╔══██╗██╔═══██╗██║ ╚══██╔══╝
██████╔╝██║ ██║██║ ██║
██╔══██╗██║ ██║██║ ██║
██████╔╝╚██████╔╝███████╗██║
╚═════╝ ╚═════╝ ╚══════╝╚═╝ "#;
println!("{BOLT}");

loop {
tokio::select! {
Some(api_event) = self.api_events_rx.recv() => {
Expand Down

0 comments on commit 77265a9

Please sign in to comment.