Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Apr 5, 2024
1 parent 0663138 commit a88cc61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use drift_sdk::{
AccountProvider, DriftClient, Pubkey, RpcAccountProvider, TransactionBuilder, Wallet,
};
use futures_util::{stream::FuturesUnordered, StreamExt};
use log::{debug, info, warn};
use log::{debug, warn};
use rust_decimal::Decimal;
use solana_client::{client_error::ClientErrorKind, rpc_config::RpcTransactionConfig};
use solana_sdk::signature::Signature;
Expand Down Expand Up @@ -347,7 +347,7 @@ impl AppState {
);

let priority_fee = ctx.cu_price.unwrap_or(pf);
info!(target: LOG_TARGET, "priority_fee: {priority_fee:?}");
debug!(target: LOG_TARGET, "priority fee: {priority_fee:?}");

let orders = req
.orders
Expand Down
5 changes: 0 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,4 @@ mod tests {
});
assert_eq!(events, expect_body, "incorrect resp body");
}

#[actix_web::test]
async fn place_orders() {

}
}

0 comments on commit a88cc61

Please sign in to comment.