diff --git a/iota/commands/extended/get_inputs.py b/iota/commands/extended/get_inputs.py index aaeb5d5..77d62c1 100644 --- a/iota/commands/extended/get_inputs.py +++ b/iota/commands/extended/get_inputs.py @@ -39,7 +39,7 @@ def _execute(self, request): seed = request['seed'] # type: Seed start = request['start'] # type: int threshold = request['threshold'] # type: Optional[int] - security_level = request['securityLevel'] # type: Optional[int] + security_level = request['securityLevel'] # int # Determine the addresses we will be scanning. if stop is None: diff --git a/iota/commands/extended/prepare_transfer.py b/iota/commands/extended/prepare_transfer.py index 390e218..cd3cb90 100644 --- a/iota/commands/extended/prepare_transfer.py +++ b/iota/commands/extended/prepare_transfer.py @@ -44,7 +44,7 @@ def _execute(self, request): # Optional parameters. change_address = request.get('changeAddress') # type: Optional[Address] proposed_inputs = request.get('inputs') # type: Optional[List[Address]] - security_level = request['securityLevel'] # type: Optional[int] + security_level = request['securityLevel'] # type: int want_to_spend = bundle.balance if want_to_spend > 0: diff --git a/iota/commands/extended/send_transfer.py b/iota/commands/extended/send_transfer.py index b456c8a..7c5060d 100644 --- a/iota/commands/extended/send_transfer.py +++ b/iota/commands/extended/send_transfer.py @@ -40,7 +40,7 @@ def _execute(self, request): seed = request['seed'] # type: Seed transfers = request['transfers'] # type: List[ProposedTransaction] reference = request['reference'] # type: Optional[TransactionHash] - security_level = request['securityLevel'] # type: Optional[int] + security_level = request['securityLevel'] # int pt_response = PrepareTransferCommand(self.adapter)( changeAddress = change_address,