Skip to content

Commit d42e01a

Browse files
pacrobpacrob
authored andcommitted
remove todo note
1 parent 02a5abb commit d42e01a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

web3/_utils/abi.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ def build_strict_registry() -> ABIRegistry:
909909
return registry
910910

911911

912-
# def named_tree(abi: List[Dict[str, Any]], data: Tuple[Any, ...]) -> Dict[str, Any]:
913912
def named_tree(
914913
abi: Sequence[ABIFunctionParams], data: Tuple[Any, ...]
915914
) -> Dict[str, Any]:
@@ -919,9 +918,6 @@ def named_tree(
919918
names = [item["name"] for item in abi]
920919
items = [named_subtree(*item) for item in zip(abi, data)]
921920

922-
# TODO how to handle if names and items end up different len
923-
# return dict(zip(names, items)) if all(names) else items
924-
925921
return dict(zip(names, items))
926922

927923

0 commit comments

Comments
 (0)