Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #1007

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/liquidator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Disclaimer

The following open source code contains an an example that documents possible interaction with the smart contract for the purpose of performing liquidations. Please note that the use of this code is at your own risk and responsibility.
The following open source code contains an example that documents possible interaction with the smart contract for the purpose of performing liquidations. Please note that the use of this code is at your own risk and responsibility.

1. No Warranty: The code is provided "as is," without any warranty or guarantee of any kind, express or implied. The developers and contributors of this code do not make any representations or warranties regarding its accuracy, reliability, or functionality. The use of this code is solely at your own risk.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn perp_liq_force_cancel_orders(
let mut perp_market = ctx.accounts.perp_market.load_mut()?;

//
// Early return if if liquidation is not allowed or if market is not in force close
// Early return if liquidation is not allowed or if market is not in force close
//
let liquidatable = account.check_liquidatable(&health_cache)?;
let can_force_cancel = !account.fixed.is_operational()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn serum3_liq_force_cancel_orders(
let (now_ts, now_slot) = clock_now();

//
// Early return if if liquidation is not allowed or if market is not in force close
// Early return if liquidation is not allowed or if market is not in force close
//
let mut health_cache = {
let mut account = ctx.accounts.account.load_full_mut()?;
Expand Down
2 changes: 1 addition & 1 deletion ts/client/src/accounts/mangoAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ export class MangoAccount {
client: MangoClient,
group: Group,
): Promise<MangoSignatureStatus[]> {
// Future: collect ixs, batch them, and send them in in fewer txs
// Future: collect ixs, batch them, and send them in fewer txs
return await Promise.all(
this.serum3Active().map((s) => {
const serum3Market = group.getSerum3MarketByMarketIndex(s.marketIndex);
Expand Down