1
0

update lnbase after crypto refactoring

This commit is contained in:
ThomasV
2018-05-26 17:04:55 +02:00
parent 1d8c771440
commit 5666188e9e
2 changed files with 21 additions and 22 deletions

View File

@@ -198,7 +198,7 @@ def sha256d(x: Union[bytes, str]) -> bytes:
def hash_160(x: bytes) -> bytes:
return ripemd(sha256(public_key))
return ripemd(sha256(x))
def ripemd(x):
try: