update lnbase after crypto refactoring
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user