diff --git a/algosdk/future/template.py b/algosdk/future/template.py index 77b424c13..845ac5dc5 100644 --- a/algosdk/future/template.py +++ b/algosdk/future/template.py @@ -4,6 +4,7 @@ from . import transaction from Cryptodome.Hash import SHA256, keccak import base64 +from typing import Optional class Template: @@ -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)]