Skip to content

Commit f098d35

Browse files
committed
Add comment for unused/last_index
1 parent f2d5348 commit f098d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: chia/wallet/wsm_apis.py

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

5353
async def commit(self, wallet_state_manager: WalletStateManager) -> None:
5454
if len(self.derivation_paths) > 0:

0 commit comments

Comments
 (0)