Skip to content

Commit

Permalink
Fix type errors in future/template.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtzmn committed Nov 10, 2022
1 parent c8d8438 commit d821f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion algosdk/future/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from . import transaction
from Cryptodome.Hash import SHA256, keccak
import base64
from typing import Optional


class Template:
Expand Down Expand Up @@ -318,7 +319,7 @@ def __init__(
receiver: str,
amount: int,
sp,
close_remainder_address: str = None,
close_remainder_address: Optional[str] = None,
):
self.lease_value = bytes(
[random.randint(0, 255) for x in range(constants.lease_length)]
Expand Down

0 comments on commit d821f8a

Please sign in to comment.