Skip to content

Commit

Permalink
chore: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: lencap <techgeek@189.cn>
  • Loading branch information
lencap committed Jan 27, 2025
1 parent 7c01b87 commit 8ae8ec5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chia/_tests/wallet/test_wallet_test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"num_environments": 2,
"config_overrides": {
"foo": "bar", # A config value that never exists
"min_mainnet_k_size": 2, # A config value overriden
"min_mainnet_k_size": 2, # A config value overridden
},
"blocks_needed": [1, 0],
}
Expand Down
2 changes: 1 addition & 1 deletion chia/full_node/full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ async def fetch_blocks(output_queue: asyncio.Queue[Optional[tuple[WSChiaConnecti
# By setting the next allowed timestamp to now,
# means that any other peer that has waited for
# this will have its next allowed timestamp in
# the passed, and be prefered multiple times
# the passed, and be preferred multiple times
# over this peer.
new_peers_with_peak[idx] = (
new_peers_with_peak[idx][0],
Expand Down
2 changes: 1 addition & 1 deletion chia/full_node/weight_proof.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def get_fork_point(self, received_summaries: list[SubEpochSummary]) -> tuple[uin
fork_point_index = idx

if fork_point_index <= 2:
# Two summeries can have different blocks and still be identical
# Two summaries can have different blocks and still be identical
# This gets resolved after one full sub epoch
return uint32(0), 0

Expand Down
2 changes: 1 addition & 1 deletion chia/wallet/vc_wallet/vc_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async def generate_signed_transaction(
) -> None:
new_proof_hash: Optional[bytes32] = kwargs.get(
"new_proof_hash", None
) # Requires that this key posesses the DID to update the specified VC
) # Requires that this key possesses the DID to update the specified VC
provider_inner_puzhash: Optional[bytes32] = kwargs.get("provider_inner_puzhash", None)
self_revoke: Optional[bool] = kwargs.get("self_revoke", False)
"""
Expand Down

0 comments on commit 8ae8ec5

Please sign in to comment.