Skip to content

Commit 9535f5d

Browse files
committed
chore: fix some minor issues in the comment
Signed-off-by: deepdring <[email protected]>
1 parent 89d4fff commit 9535f5d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

chia/_tests/environments/wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def process_pending_states(
347347
1) Ensures all pending transactions have entered the mempool
348348
2) Checks that all balances have changed properly prior to a block being farmed
349349
3) Farms a block (to no one in particular)
350-
4) Chacks that all balances have changed properly after the block was farmed
350+
4) Checks that all balances have changed properly after the block was farmed
351351
5) Checks that all pending transactions that were gathered in step 1 are now confirmed
352352
6) Checks that if `reuse_puzhash` was set, no new derivations were created
353353
7) Ensures the wallet is in a synced state before progressing to the rest of the test

chia/_tests/wallet/test_wallet_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ async def test_transaction_send_cache(
611611
) -> None:
612612
"""
613613
The purpose of this test is to test that calling _resend_queue on the wallet node does not result in resending a
614-
spend to a peer that has already recieved that spend and is currently processing it. It also tests that once we
614+
spend to a peer that has already received that spend and is currently processing it. It also tests that once we
615615
have heard that the peer is done processing the spend, we _do_ properly resend it.
616616
"""
617617
[full_node_api], [(wallet_node, wallet_server)], _ = simulator_and_wallet
@@ -649,7 +649,7 @@ def logged_spends_len() -> int:
649649
with pytest.raises(AssertionError):
650650
await time_out_assert(5, logged_spends_len, 2)
651651

652-
# Tell the wallet that we recieved the spend (but failed to process it so it should send again)
652+
# Tell the wallet that we received the spend (but failed to process it so it should send again)
653653
msg = make_msg(
654654
ProtocolMessageTypes.transaction_ack,
655655
wallet_protocol.TransactionAck(

chia/wallet/conditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def from_mode_and_maybe_args(
516516
amount_committed: Optional[uint64] = None
517517
# This loop probably looks a little strange
518518
# It's trying to account for the fact that the arguments may be any 1 or 2 of these arguments in this order
519-
# Not sure of a more elgant way to do it
519+
# Not sure of a more elegant way to do it
520520
original_mode = mode
521521
for arg in args:
522522
if mode & 0b100:

0 commit comments

Comments
 (0)