@@ -427,7 +427,7 @@ def __post_init__(self) -> None:
427
427
and self .coin_id_committed is None
428
428
and self .mode_integer is None
429
429
):
430
- raise ValueError ("Must specify at least one committment . Anyone-can-send/recieve is not allowed." )
430
+ raise ValueError ("Must specify at least one commitment . Anyone-can-send/receive is not allowed." )
431
431
if self .coin_id_committed is not None :
432
432
if self .parent_id_committed is None or self .puzzle_hash_committed is None or self .amount_committed is None :
433
433
if not (
@@ -450,7 +450,7 @@ def __post_init__(self) -> None:
450
450
), "The value for coin_id_committed must be equal to the implied ID of the other three arguments"
451
451
if self .mode_integer is not None :
452
452
assert self .mode == self .mode_integer , (
453
- "If mode_integer is manually specified, you must specify committments that match with the mode"
453
+ "If mode_integer is manually specified, you must specify commitments that match with the mode"
454
454
)
455
455
456
456
@property
@@ -482,7 +482,7 @@ def convert_noneness_to_bit(maybe_none: Optional[Any]) -> int:
482
482
@property
483
483
def necessary_args (self ) -> list [Program ]:
484
484
if self ._nothing_committed :
485
- raise ValueError ("Cannot generate necessary_args for a participant without committment information" )
485
+ raise ValueError ("Cannot generate necessary_args for a participant without commitment information" )
486
486
487
487
if self .coin_id_committed :
488
488
return [Program .to (self .coin_id_committed )]
@@ -516,7 +516,7 @@ def from_mode_and_maybe_args(
516
516
amount_committed : Optional [uint64 ] = None
517
517
# This loop probably looks a little strange
518
518
# 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
520
520
original_mode = mode
521
521
for arg in args :
522
522
if mode & 0b100 :
0 commit comments