Skip to content

Commit 39d2af8

Browse files
committed
fix: run laser client actor on separate tokio task
1 parent 0ba9501 commit 39d2af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magicblock-chainlink/src/remote_account_provider/chain_laser_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl ChainLaserClientImpl {
3131
updates: Arc::new(Mutex::new(Some(updates))),
3232
messages,
3333
};
34-
actor.run().await;
34+
tokio::spawn(actor.run());
3535
Ok(client)
3636
}
3737

0 commit comments

Comments
 (0)