Skip to content

Commit e305b58

Browse files
committed
update response
1 parent e565969 commit e305b58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tronapi/tron.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,8 @@ def get_transactions_related(self, address, direction='to', limit=30, offset=0):
212212
'offset': offset
213213
}, 'post')
214214

215-
merge = dict(response)
216-
merge.update({'direction': direction})
217-
return merge
215+
response.update({'direction': direction})
216+
return response
218217

219218
def get_transactions_to_address(self, address, limit=20, offset=0):
220219
"""Получение транзакций по направлении "to"

0 commit comments

Comments
 (0)