Skip to content

Commit

Permalink
fix some minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Nov 30, 2024
1 parent 6e204bc commit a4084aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cashu/mint/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def mint_features(self) -> Dict[int, Union[List[Any], Dict[str, Any]]]:
DLC_NUT: dict(
supported=True,
funding_proof_pubkey='XXXXXX',
max_payous=30,
max_payouts=30,
ttl=2629743, # 1 month
fees=dict(
sat=dict(
Expand Down
3 changes: 2 additions & 1 deletion cashu/mint/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,9 @@ async def register_dlc(self, request: PostDlcRegistrationRequest) -> PostDlcRegi
for registration in request.registrations:
try:
logger.trace(f"processing registration {registration.dlc_root}")
assert registration.inputs is not None # mypy give me a break
assert registration.inputs is not None
await self._verify_dlc_inputs(registration)

amount_provided = await self._verify_dlc_amount_fees_coverage(
registration.funding_amount,
registration.unit,
Expand Down
1 change: 0 additions & 1 deletion cashu/mint/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ async def _verify_dlc_inputs(self, dlc: DiscreetLogContract):
Args:
dlc (DiscreetLogContract): the DLC to be funded
proofs: (List[Proof]): proofs to be verified
Raises:
DlcVerificationFail
Expand Down

0 comments on commit a4084aa

Please sign in to comment.