making default binary lite-rpc
This commit is contained in:
parent
78df56e635
commit
7db0ef4908
|
@ -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 }
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue