minor config changes and bugfixes

This commit is contained in:
Godmode Galactus 2024-11-05 18:25:02 +01:00
parent e8f7123bee
commit 4a7d0924b1
No known key found for this signature in database
GPG Key ID: A6B75566742EA987
3 changed files with 2 additions and 3 deletions

View File

@ -76,7 +76,7 @@ request_timeout_in_seconds = 300
[[sources.grpc_sources]]
name = "router-eclipse"
connection_string = "$RPC_HTTP_URL_WITHOUT_TOKEN"
token = "$AMS_RPC_TOKEN"
token = "$RPC_TOKEN"
retry_connection_sleep_secs = 30
[price_feed]

View File

@ -252,7 +252,6 @@ impl OrcaDex {
let tick_arrays = filtered_pools
.iter()
.map(|(pk, wp)| {
println!("whirlpool : {pk}, {}", wp.tick_spacing);
whirlpool_tick_array_pks(wp, pk, program_id)
})
.collect_vec();

View File

@ -217,7 +217,7 @@ pub async fn get_uncompressed_program_account_rpc(
with_context: Some(true),
account_config: RpcAccountInfoConfig {
encoding: Some(UiAccountEncoding::Base64),
min_context_slot: Some(slot),
min_context_slot: None,
commitment: config.account_config.commitment,
data_slice: config.account_config.data_slice,
},