Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xripleys committed Jul 8, 2024
1 parent eed4f01 commit e3634f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions token-lending/oracles/src/switchboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ use crate::OracleType;
use solend_sdk::math::TryDiv;
use solend_sdk::math::TryMul;

use crate::{
switchboard_on_demand_devnet, switchboard_on_demand_mainnet, switchboard_v2_devnet,
switchboard_v2_mainnet,
};
use solana_program::{
account_info::AccountInfo, entrypoint::ProgramResult, msg, program_error::ProgramError,
sysvar::clock::Clock,
};
use solend_sdk::{error::LendingError, math::Decimal};
use crate::{
switchboard_on_demand_devnet, switchboard_on_demand_mainnet, switchboard_v2_devnet,
switchboard_v2_mainnet,
};
use std::result::Result;

use switchboard_on_demand::on_demand::accounts::pull_feed::PullFeedAccountData as SbOnDemandFeed;
Expand Down
2 changes: 1 addition & 1 deletion token-lending/program/tests/init_lending_market.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mod helpers;

use helpers::solend_program_test::{SolendProgramTest, User};
use helpers::*;
use oracles::{pyth_mainnet, switchboard_v2_mainnet};
use solana_program::instruction::InstructionError;
use solana_program_test::*;
use solana_sdk::signature::Keypair;
Expand All @@ -12,7 +13,6 @@ use solana_sdk::transaction::TransactionError;
use solend_program::error::LendingError;
use solend_program::instruction::init_lending_market;
use solend_program::state::{LendingMarket, RateLimiter, PROGRAM_VERSION};
use oracles::{pyth_mainnet, switchboard_v2_mainnet};

#[tokio::test]
async fn test_success() {
Expand Down
1 change: 0 additions & 1 deletion token-lending/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ pub const NULL_PUBKEY: solana_program::pubkey::Pubkey =
11, 193, 238, 216, 208, 116, 241, 195, 55, 212, 76, 22, 75, 202, 40, 216, 76, 206, 27, 169,
138, 64, 177, 28, 19, 90, 156, 0, 0, 0, 0, 0,
]);

0 comments on commit e3634f5

Please sign in to comment.