File tree 1 file changed +3
-14
lines changed
1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -407,18 +407,7 @@ async fn build_instructions_for_ops<'a>(
407
407
address : Pubkey ,
408
408
token : Token ,
409
409
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 > > {
422
411
let mut instructions = vec ! [ ] ;
423
412
let mut address_lookup_tables = vec ! [ ] ;
424
413
let mut required_compute_units = 0 ;
@@ -1112,8 +1101,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
1112
1101
1113
1102
let pools = {
1114
1103
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) ) ;
1117
1106
pools. sort ( ) ;
1118
1107
pools
1119
1108
} ;
You can’t perform that action at this time.
0 commit comments