Skip to content

Commit 7a50379

Browse files
authored
Merge pull request #290 from algorand/aldur/fix_atc_types
Partially fix types for atomic transaction composer
2 parents 0bdd947 + af81385 commit 7a50379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algosdk/atomic_transaction_composer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import base64
33
import copy
44
from enum import IntEnum
5-
from typing import Any, List, TypeVar, Union
5+
from typing import Any, List, Optional, TypeVar, Union
66

77
from algosdk import abi, error
88
from algosdk.abi.address_type import AddressType
@@ -690,7 +690,7 @@ def __init__(
690690
tx_id: int,
691691
raw_value: bytes,
692692
return_value: Any,
693-
decode_error: error,
693+
decode_error: Optional[Exception],
694694
tx_info: dict,
695695
) -> None:
696696
self.tx_id = tx_id

0 commit comments

Comments
 (0)