Skip to content

Commit 0dcec5e

Browse files
authored
Merge pull request #3324 from vetclippy/master
chore: fix some typos in comment
2 parents 50957d0 + f8c564e commit 0dcec5e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

crates/execution/vm-types/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub enum Error {
4343
/// `OutOfGas` is returned when transaction execution runs out of gas.
4444
/// The state should be reverted to the state from before the
4545
/// transaction execution. But it does not mean that transaction
46-
/// was invalid. Balance still should be transfered and nonce
46+
/// was invalid. Balance still should be transferred and nonce
4747
/// should be increased.
4848
OutOfGas,
4949
/// `BadJumpDestination` is returned when execution tried to move

crates/rpc/rpc-cfx-types/src/epoch_number.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl<'a> Visitor<'a> for BlockHashOrEpochNumberVisitor {
234234
let (mut require_pivot, mut epoch_number, mut block_hash) =
235235
(true, None::<u64>, None::<H256>);
236236

237-
// following the implementaion in rpc/types/eth/block_number.rs
237+
// following the implementation in rpc/types/eth/block_number.rs
238238
loop {
239239
let key_str: Option<String> = visitor.next_key()?;
240240

crates/rpc/rpc-eth-impl/src/eth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ impl EthApi {
977977
return Ok(Some(receipt));
978978
}
979979

980-
// if the if-branch was not entered, we do the bookeeping here
980+
// if the if-branch was not entered, we do the bookkeeping here
981981
prior_log_index += phantom_block.receipts[idx].logs.len();
982982
}
983983

crates/rpc/rpc-eth-types/src/trace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub struct Call {
3939
from: Address,
4040
/// Recipient
4141
to: Address,
42-
/// Transfered Value
42+
/// Transferred Value
4343
value: U256,
4444
/// Gas
4545
gas: U256,

crates/rpc/rpc-eth-types/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct Transaction {
5151
pub from: H160,
5252
/// Recipient
5353
pub to: Option<H160>,
54-
/// Transfered value
54+
/// Transferred value
5555
pub value: U256,
5656
/// Gas Price
5757
pub gas_price: Option<U256>,

0 commit comments

Comments
 (0)