Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: racerole <jiangyifeng@outlook.com>
  • Loading branch information
racerole committed Feb 19, 2025
1 parent 22ced1f commit 7cd7e05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chia/full_node/full_node_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ async def send_transaction(
if status == MempoolInclusionStatus.SUCCESS:
response = wallet_protocol.TransactionAck(spend_name, uint8(status.value), error_name)
else:
# If if failed/pending, but it previously succeeded (in mempool), this is idempotence, return SUCCESS
# If it failed/pending, but it previously succeeded (in mempool), this is idempotence, return SUCCESS
if self.full_node.mempool_manager.get_spendbundle(spend_name) is not None:
response = wallet_protocol.TransactionAck(
spend_name, uint8(MempoolInclusionStatus.SUCCESS.value), None
Expand Down
2 changes: 1 addition & 1 deletion chia/types/blockchain_format/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def run_with_flags(self, max_cost: int, flags: int, args: Any) -> tuple[int, Pro
# (2 (1 . self) rest)
#
# Resulting in a function which places its own arguments after those
# curried in in the form of a proper list.
# curried in the form of a proper list.
def curry(self, *args) -> Program:
fixed_args: Any = 1
for arg in reversed(args):
Expand Down

0 comments on commit 7cd7e05

Please sign in to comment.