fix pylint warnings

This commit is contained in:
Roman Zeyde
2017-04-21 22:56:50 +03:00
parent b2bc87c0c7
commit 8ba9be1780
3 changed files with 3 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ class Identity(object):
s = io.BytesIO(bytearray(digest))
hardened = 0x80000000
addr_0 = [13, 17][bool(ecdh)]
addr_0 = 17 if bool(ecdh) else 13
address_n = [addr_0] + list(util.recv(s, '<LLLL'))
return [(hardened | value) for value in address_n]