Fix lib for 1.10 compatibility
This commit is contained in:
parent
18fc4afd93
commit
f39fcdfba9
|
@ -42,6 +42,7 @@ async fn get_snapshot(
|
|||
encoding: Some(UiAccountEncoding::Base64),
|
||||
commitment: Some(CommitmentConfig::finalized()),
|
||||
data_slice: None,
|
||||
min_context_slot: None,
|
||||
};
|
||||
let program_accounts_config = RpcProgramAccountsConfig {
|
||||
filters: None,
|
||||
|
|
|
@ -47,6 +47,7 @@ async fn feed_data(
|
|||
encoding: Some(UiAccountEncoding::Base64),
|
||||
commitment: Some(CommitmentConfig::processed()),
|
||||
data_slice: None,
|
||||
min_context_slot: None,
|
||||
};
|
||||
let program_accounts_config = RpcProgramAccountsConfig {
|
||||
filters: None,
|
||||
|
|
Loading…
Reference in New Issue