Skip to content

Commit 6b673c1

Browse files
committed
update readme and fix other typos
1 parent 1dfe7a4 commit 6b673c1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/did/src/mint_order_exemption.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct MintOrderExemptionUserData {
1313
impl MintOrderExemptionUserData {
1414
pub const MIN_INPUT_LEN: usize = 4;
1515

16-
/// Decode mint order exemption transaction data from raw trancaction input.
16+
/// Decode mint order exemption transaction data from raw transaction input.
1717
pub fn decode(tx_input: &[u8]) -> Option<Self> {
1818
if tx_input.len() < Self::MIN_INPUT_LEN {
1919
return None;

src/did/src/notify.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl NotificationInput {
6262
])
6363
}
6464

65-
/// Decode notification transaction data from raw trancaction input.
65+
/// Decode notification transaction data from raw transaction input.
6666
pub fn decode(tx_input: &[u8]) -> Option<Self> {
6767
if tx_input.len() < Self::MIN_INPUT_LEN {
6868
return None;

src/evm-block-extractor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Where:
6060

6161
## Endpoints
6262

63-
Th evm-block-extracor is also a minimal version of the Ethereum JSON-RPC server which supports the following endpoints:
63+
The evm-block-extractor is also a minimal version of the Ethereum JSON-RPC server which supports the following endpoints:
6464

6565
- **eth_blockNumber**: Returns the number of most recent block.
6666
- **eth_getBlockByNumber**: Returns information about a block by block number.

src/minter-client/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl<C: CanisterClient> MinterCanisterClient<C> {
131131
.await
132132
}
133133

134-
/// Approves ICRC-2 token transfer from minter canister to recepient.
134+
/// Approves ICRC-2 token transfer from minter canister to recipient.
135135
/// Returns approved amount.
136136
///
137137
/// # Arguments
@@ -147,7 +147,7 @@ impl<C: CanisterClient> MinterCanisterClient<C> {
147147
.await
148148
}
149149

150-
/// Transfers ICRC-2 tokens from minter canister to recepient.
150+
/// Transfers ICRC-2 tokens from minter canister to recipient.
151151
///
152152
/// Before it can be used, ICRC-2 token must be approved by `start_icrc2_mint` which approves the transfer.
153153
/// After the approval, user should finalize Wrapped token burning, using `BFTBridge::finish_burn()`.

0 commit comments

Comments
 (0)