Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Oct 19, 2023
1 parent ca3b6ca commit 10a4bec
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 253 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/client/src/account_fetcher_trait.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use mango_feeds_connector::account_fetchers::{AccountFetcherFeeds, CachedAccountFetcher, RpcAccountFetcher};
use solana_sdk::account::AccountSharedData;
use solana_sdk::pubkey::Pubkey;
use crate::account_fetchers::{AccountFetcherFeeds, CachedAccountFetcher, RpcAccountFetcher};


#[async_trait::async_trait]
Expand Down
250 changes: 0 additions & 250 deletions lib/client/src/account_fetchers.rs

This file was deleted.

1 change: 1 addition & 0 deletions lib/client/src/chain_data.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub use mango_feeds_connector::feeds_chain_data_fetcher::*;
pub use mango_feeds_connector::chain_data::*;
pub use mango_feeds_connector::account_fetcher::*;
2 changes: 1 addition & 1 deletion lib/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ use solana_sdk::signer::keypair;
use solana_sdk::transaction::TransactionError;

use crate::account_fetcher_trait::*;
use crate::account_fetchers::*;
use crate::context::MangoGroupContext;
use crate::gpa::{fetch_anchor_account, fetch_mango_accounts};
use crate::{jupiter, util};

use anyhow::Context;
use mango_feeds_connector::account_fetchers::{CachedAccountFetcher, RpcAccountFetcher};
use solana_sdk::account::ReadableAccount;
use solana_sdk::instruction::{AccountMeta, Instruction};
use solana_sdk::signature::{Keypair, Signature};
Expand Down
1 change: 0 additions & 1 deletion lib/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pub use context::*;
pub use util::*;

mod account_fetcher_trait;
mod account_fetchers;
mod account_fetcher_utils;
pub mod account_update_stream;
pub mod chain_data;
Expand Down

0 comments on commit 10a4bec

Please sign in to comment.