Skip to content

Commit f499a15

Browse files
authored
chore: fix some typos in comment (#19594)
Signed-off-by: yetyear <[email protected]>
1 parent 59499ce commit f499a15

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

chia/_tests/clvm/test_message_conditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ def test_message_error_conditions() -> None:
129129
mode_integer=uint8(0b111),
130130
).necessary_args
131131

132-
with pytest.raises(ValueError, match="Must specify either mode_integer or both sender and reciever"):
132+
with pytest.raises(ValueError, match="Must specify either mode_integer or both sender and receiver"):
133133
SendMessage(
134134
msg=b"foo",
135135
sender=MessageParticipant(coin_id_committed=test_coin.name()),
136136
)
137137

138-
with pytest.raises(ValueError, match="Must specify either mode_integer or both sender and reciever"):
138+
with pytest.raises(ValueError, match="Must specify either mode_integer or both sender and receiver"):
139139
SendMessage(
140140
msg=b"foo",
141141
receiver=MessageParticipant(coin_id_committed=test_coin.name()),

chia/wallet/conditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def _opcode(self) -> ConditionOpcode:
564564

565565
def __post_init__(self) -> None:
566566
if self.mode_integer is None and (self.sender is None or self.receiver is None):
567-
raise ValueError("Must specify either mode_integer or both sender and reciever")
567+
raise ValueError("Must specify either mode_integer or both sender and receiver")
568568

569569
if self.mode_integer is not None and self.sender is not None:
570570
assert self.mode_integer >> 3 == self.sender.mode, (

chia/wallet/nft_wallet/nft_wallet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,10 +1162,10 @@ async def mint_from_did(
11621162
- The launcher coins are then spent along with the created eve spend
11631163
and an xch spend that funds the transactions and pays fees.
11641164
- There is also an option to pass in a list of target puzzlehashes. If
1165-
provided this method will create an additional transaction transfering
1165+
provided this method will create an additional transaction transferring
11661166
the minted NFTs to the row-matched target.
11671167
:param metadata_list: A list of dicts containing the metadata for each NFT to be minted
1168-
:param target_list: [Optional] a list of targets for transfering minted NFTs (aka airdrop)
1168+
:param target_list: [Optional] a list of targets for transferring minted NFTs (aka airdrop)
11691169
:param mint_number_start: [Optional] The starting point for mint number used in intermediate launcher
11701170
puzzle. Default: 1
11711171
:param mint_total: [Optional] The total number of NFTs being minted
@@ -1438,7 +1438,7 @@ async def mint_from_xch(
14381438
"""
14391439
Minting NFTs from a single XCH spend using intermediate launcher puzzle
14401440
:param metadata_list: A list of dicts containing the metadata for each NFT to be minted
1441-
:param target_list: [Optional] a list of targets for transfering minted NFTs (aka airdrop)
1441+
:param target_list: [Optional] a list of targets for transferring minted NFTs (aka airdrop)
14421442
:param mint_number_start: [Optional] The starting point for mint number used in intermediate launcher
14431443
puzzle. Default: 1
14441444
:param mint_total: [Optional] The total number of NFTs being minted

chia/wallet/trade_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def get_coins_of_interest(
122122
) -> set[bytes32]:
123123
"""
124124
Returns list of coins we want to check if they are included in filter,
125-
These will include coins that belong to us and coins that that on other side of treade
125+
These will include coins that belong to us and coins that on other side of trade
126126
"""
127127
coin_ids = await self.trade_store.get_coin_ids_of_interest_with_trade_statuses(
128128
trade_statuses=[TradeStatus.PENDING_ACCEPT, TradeStatus.PENDING_CONFIRM, TradeStatus.PENDING_CANCEL]

chia/wallet/wsm_apis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def to_standard(self) -> CreateMorePuzzleHashesResult:
4646
class CreateMorePuzzleHashesResult:
4747
derivation_paths: list[DerivationRecord]
4848
mark_existing_as_used: bool
49-
unused: int # The first unusued puzzle hash
49+
unused: int # The first unused puzzle hash
5050
new_unhardened_keys: bool
5151
last_index: int # The index we derived up to
5252

0 commit comments

Comments
 (0)