diff --git a/chia/_tests/environments/wallet.py b/chia/_tests/environments/wallet.py index df38388c2102..483b274fce15 100644 --- a/chia/_tests/environments/wallet.py +++ b/chia/_tests/environments/wallet.py @@ -347,7 +347,7 @@ async def process_pending_states( 1) Ensures all pending transactions have entered the mempool 2) Checks that all balances have changed properly prior to a block being farmed 3) Farms a block (to no one in particular) - 4) Chacks that all balances have changed properly after the block was farmed + 4) Checks that all balances have changed properly after the block was farmed 5) Checks that all pending transactions that were gathered in step 1 are now confirmed 6) Checks that if `reuse_puzhash` was set, no new derivations were created 7) Ensures the wallet is in a synced state before progressing to the rest of the test diff --git a/chia/_tests/wallet/test_wallet_node.py b/chia/_tests/wallet/test_wallet_node.py index 76dcfdc08203..160add7e8bbf 100644 --- a/chia/_tests/wallet/test_wallet_node.py +++ b/chia/_tests/wallet/test_wallet_node.py @@ -611,7 +611,7 @@ async def test_transaction_send_cache( ) -> None: """ The purpose of this test is to test that calling _resend_queue on the wallet node does not result in resending a - spend to a peer that has already recieved that spend and is currently processing it. It also tests that once we + spend to a peer that has already received that spend and is currently processing it. It also tests that once we have heard that the peer is done processing the spend, we _do_ properly resend it. """ [full_node_api], [(wallet_node, wallet_server)], _ = simulator_and_wallet @@ -649,7 +649,7 @@ def logged_spends_len() -> int: with pytest.raises(AssertionError): await time_out_assert(5, logged_spends_len, 2) - # Tell the wallet that we recieved the spend (but failed to process it so it should send again) + # Tell the wallet that we received the spend (but failed to process it so it should send again) msg = make_msg( ProtocolMessageTypes.transaction_ack, wallet_protocol.TransactionAck( diff --git a/chia/wallet/conditions.py b/chia/wallet/conditions.py index 5b12b1c4ad21..03d8ce74dbee 100644 --- a/chia/wallet/conditions.py +++ b/chia/wallet/conditions.py @@ -516,7 +516,7 @@ def from_mode_and_maybe_args( amount_committed: Optional[uint64] = None # This loop probably looks a little strange # It's trying to account for the fact that the arguments may be any 1 or 2 of these arguments in this order - # Not sure of a more elgant way to do it + # Not sure of a more elegant way to do it original_mode = mode for arg in args: if mode & 0b100: