Skip to content

Commit 6be5b2f

Browse files
committed
update
1 parent 2221345 commit 6be5b2f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

tronapi/base/contracts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424

2525
def find_matching_fn_abi(abi, fn_identifier=None, args=None, kwargs=None):
26-
global diagnosis
2726
args = args or tuple()
2827
kwargs = kwargs or dict()
2928
filters = []
3029
num_arguments = len(args) + len(kwargs)
30+
diagnosis = None
3131

3232
if fn_identifier is FallbackFn:
3333
return get_fallback_func_abi(abi)

tronapi/base/encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import re
2-
from typing import Optional, Union
2+
from typing import Union
33

44
from eth_utils import hexstr_if_str, to_hex, big_endian_to_int, int_to_big_endian
55

tronapi/base/toolz/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
complement,
1111
compose,
1212
concat,
13-
cons,
1413
curry,
1514
dicttoolz,
1615
dissoc,
@@ -32,7 +31,6 @@
3231
complement,
3332
compose,
3433
concat,
35-
cons,
3634
curry,
3735
dicttoolz,
3836
dissoc,

0 commit comments

Comments
 (0)