making default binary lite-rpc

This commit is contained in:
Godmode Galactus 2023-06-09 10:03:36 +02:00
parent 78df56e635
commit 7db0ef4908
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
description = "A lite version of solana rpc to send and confirm transactions"
rust-version = "1.67.1"
default-run = "lite-rpc"
[dependencies]
solana-sdk = { workspace = true }

View File

@ -272,6 +272,7 @@ impl BlockListener {
Ok(v) => v,
Err(e) => {
error!("Recv error on block channel {}", e);
tokio::time::sleep(Duration::from_millis(1)).await;
continue;
}
};