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

fix: typos #4283

Merged
merged 1 commit into from
Nov 28, 2023
Merged
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 api/bin/chainflip-cli/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub enum LiquidityProviderSubcommands {
/// Chain of the deposit asset ("Ethereum"|"Polkadot")
chain: Option<ForeignChain>,
},
/// Register an Liquidity Refund Address for the given chain. An address must be
/// Register a Liquidity Refund Address for the given chain. An address must be
/// registered to request a deposit address for the given chain.
RegisterLiquidityRefundAddress { chain: ForeignChain, address: String },
}
Expand Down
2 changes: 1 addition & 1 deletion api/bin/chainflip-lp-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ It will print `🎙 Server is listening on 0.0.0.0:80.` and continue to run.

2. In another terminal:

Register as an liquidity provider if you are not already.
Register as a liquidity provider if you are not already.

```bash copy
curl -H "Content-Type: application/json" \
Expand Down
7 changes: 4 additions & 3 deletions state-chain/pallets/cf-lp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub mod pallet {
InvalidEgressAddress,
/// Then given encoded address cannot be decoded into a valid ForeignChainAddress.
InvalidEncodedAddress,
/// An liquidity refund address must be set by the user for the chain before
/// A liquidity refund address must be set by the user for the chain before a
/// deposit address can be requested.
NoLiquidityRefundAddressRegistered,
/// Liquidity deposit is disabled due to Safe Mode.
Expand Down Expand Up @@ -229,8 +229,9 @@ pub mod pallet {
Ok(())
}

/// Registers an Liquidity Refund Address(LRA) for an account.
/// To request deposit address for a chain, an LRA must be registered for that chain.
/// Registers a Liquidity Refund Address(LRA) for an account.
///
/// To request a deposit address for a chain, an LRA must be registered for that chain.
///
/// ## Events
///
Expand Down
Loading