Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeljy committed Sep 17, 2023
1 parent ed79a8f commit 1c8259d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/router/jedi_swap_router.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ mod JediSwapRouter {
use core::zeroable::Zeroable;
use starknet::{get_caller_address, ContractAddress};

use debug::PrintTrait;

// Local imports.
use swappy::router::router::IRouter;
use swappy::router::error::RouterError;
Expand Down Expand Up @@ -101,6 +99,7 @@ mod JediSwapRouter {
assert(router_address.is_non_zero(), RouterError::ROUTER_ADDRESS_UNDEFINED);

// TODO : Call router address swap_exact_tokens_for_tokens
// Until JediSwap is updated to Cairo 1, panic with 'NOT_IMPLEMENTED'
panic_with_felt252('NOT_IMPLEMENTED');
}
}
Expand Down

0 comments on commit 1c8259d

Please sign in to comment.