We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fa792 commit 256ab3fCopy full SHA for 256ab3f
magicblock-committor-service/src/tasks/account_fetcher.rs
@@ -10,6 +10,12 @@ pub struct AccountFetcher {
10
rpc_client: RpcClient,
11
}
12
13
+impl Default for AccountFetcher {
14
+ fn default() -> Self {
15
+ Self::new()
16
+ }
17
+}
18
+
19
impl AccountFetcher {
20
pub fn new() -> Self {
21
use crate::{config::ChainConfig, ComputeBudgetConfig};
@@ -18,7 +24,7 @@ impl AccountFetcher {
24
let chain_config =
25
ChainConfig::local(ComputeBudgetConfig::new(1_000_000));
26
- //#[cfg(not(feature = "dev-context-only-utils"))]
27
+ #[cfg(not(feature = "dev-context-only-utils"))]
22
28
let chain_config = ChainConfig {
23
29
rpc_uri: magicblock_config::MagicBlockConfig::parse_config()
30
.config
0 commit comments