Skip to content

Commit 6cd67d8

Browse files
committed
cargo fmt
1 parent e8a8d3e commit 6cd67d8

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

src/bin/sys-lend.rs

+3-14
Original file line numberDiff line numberDiff line change
@@ -407,18 +407,7 @@ async fn build_instructions_for_ops<'a>(
407407
address: Pubkey,
408408
token: Token,
409409
wrap_unwrap_sol: bool,
410-
) -> Result<
411-
InstructionsForOps,
412-
/*
413-
(
414-
/*instructions: */ Vec<Instruction>,
415-
/*required_compute_units: */ u32,
416-
/* address_lookup_table_accounts: */ Vec<AddressLookupTableAccount>,
417-
/* simulation_account_data_cache: */ AccountDataCache<'a>,
418-
),
419-
*/
420-
Box<dyn std::error::Error>,
421-
> {
410+
) -> Result<InstructionsForOps, Box<dyn std::error::Error>> {
422411
let mut instructions = vec![];
423412
let mut address_lookup_tables = vec![];
424413
let mut required_compute_units = 0;
@@ -1112,8 +1101,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
11121101

11131102
let pools = {
11141103
let mut pools = values_t!(matches, "pool", String)
1115-
.ok()
1116-
.unwrap_or_else(|| supported_pools_for_token(token));
1104+
.ok()
1105+
.unwrap_or_else(|| supported_pools_for_token(token));
11171106
pools.sort();
11181107
pools
11191108
};

0 commit comments

Comments
 (0)