chore: fix typos (#778)

This commit is contained in:
shuoer86 2023-11-23 15:59:19 +08:00 committed by GitHub
parent 5429ac1962
commit 8129cf45b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ anchor-lang = "0.28.0"
anchor-spl = "0.28.0"
fixed = { git = "https://github.com/blockworks-foundation/fixed.git", branch = "v1.11.0-borsh0_10-mango" }
pyth-sdk-solana = "0.8.0"
# commit c85e56d (0.5.10 plus depedency updates)
# commit c85e56d (0.5.10 plus dependency updates)
serum_dex = { git = "https://github.com/openbook-dex/program.git", default-features=false }
mango-feeds-connector = "0.2.1"

View File

@ -704,7 +704,7 @@ describe('mango-v4', () => {
true,
);
// Set price so health is below maintanence
// Set price so health is below maintenance
await envClient.stubOracleSet(group, btcOracle.publicKey, 1);
await mangoAccountB!.reload(clientB);

View File

@ -66,7 +66,7 @@ pub struct Config {
pub profit_fraction: f64,
/// Minimum fraction of max_buy to buy for success when triggering,
/// useful in conjuction with jupiter swaps in same tx to avoid over-buying.
/// useful in conjunction with jupiter swaps in same tx to avoid over-buying.
///
/// Can be set to 0 to allow executions of any size.
pub min_buy_fraction: f64,

View File

@ -80,7 +80,7 @@ Fill Event
}
```
If the fill ocurred on a fork, an event will be sent with the 'status' field set to 'revoke'.
If the fill occurred on a fork, an event will be sent with the 'status' field set to 'revoke'.
## Setup

View File

@ -755,7 +755,7 @@ async function createAndPopulateAlt() {
// TODO: dont extend for perps atm
await extendTable(perpMarketAddresses);
// Well known addressess
// Well known addresses
await extendTable([
SystemProgram.programId,
SYSVAR_RENT_PUBKEY,

View File

@ -295,7 +295,7 @@ async function createAndPopulateAlt() {
// TODO: dont extend for perps atm
await extendTable(perpMarketAddresses);
// Well known addressess
// Well known addresses
await extendTable([
SystemProgram.programId,
SYSVAR_RENT_PUBKEY,