Skip to content

Commit cc5b1e7

Browse files
authored
Merge pull request #3292 from shangchenglumetro/master
chore: fix some minor issues in the comments
2 parents e9d28ad + d21c568 commit cc5b1e7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

crates/cfxcore/core/src/sync/state/state_sync_chunk/restore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl Restorer {
8383
|| snapshot_info.get_snapshot_epoch_id()
8484
!= snapshot_info_in_db.get_snapshot_epoch_id()
8585
{
86-
debug!("destory snapshot {:?}", snapshot_epoch_id);
86+
debug!("destroy snapshot {:?}", snapshot_epoch_id);
8787
storage_manager
8888
.get_snapshot_manager()
8989
.get_snapshot_db_manager()

crates/util/treap-map/src/update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ where
197197
assert!(
198198
C::next_node_dir(self.key, (&node.sort_key, &node.key))
199199
.is_none(),
200-
"Inserted node has incosistent key"
200+
"Inserted node has inconsistent key"
201201
);
202202
InsertOnVacant {
203203
insert: Box::new(node),

tests/contract_bench_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def testCreate2Factory(self):
527527
assert(len(erc1820_code) > 2)
528528
result = self.call_contract(self.sender, self.priv_key, create2factory_addr, data, 0, storage_limit=2048)
529529
assert(result["outcomeStatus"] == "0x1")
530-
# destory erc1820
530+
# deploy erc1820
531531
data = "0x00f55d9d000000000000000000000000861bfca161e8c9f314f6128d142d852905f52d05"
532532
result = self.call_contract(self.sender, self.priv_key, "0x0888000000000000000000000000000000000000", data, 0, storage_limit=2048)
533533
assert(result["outcomeStatus"] == "0x0")

tests/contracts/HashedTimelock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ contract HashedTimelock {
9292

9393
/**
9494
* @dev Sender sets up a new hash time lock contract depositing the ETH and
95-
* providing the reciever lock terms.
95+
* providing the receiver lock terms.
9696
*
9797
* @param _receiver Receiver of the ETH.
9898
* @param _hashlock A sha-2 sha256 hash hashlock.

tests/reboot_with_pivot_change_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
1. Node 1 generate chain 1
44
2. Node 2 generate chain 2, longer than chain 1
55
3. Node 1, node 2 synced, pivot chain is chain 2
6-
4. Node 1 stoped
6+
4. Node 1 stopped
77
5. Node 2 changed pivot chain to chain 1
88
6. Node 1 start
99
7. Blocks in node 1 since fork point should be reexecuted

0 commit comments

Comments
 (0)