1
0

lnbase.pay: test if htlc can be added

This commit is contained in:
SomberNight
2018-08-01 18:30:35 +02:00
committed by ThomasV
parent 9827cda9b1
commit 4d1785799b
2 changed files with 22 additions and 3 deletions

View File

@@ -414,3 +414,6 @@ def get_compressed_pubkey_from_bech32(bech32_pubkey: str) -> bytes:
COMPRESSED_PUBKEY_LENGTH = 33
data_8bits = data_8bits + ((COMPRESSED_PUBKEY_LENGTH - len(data_8bits)) * [0])
return bytes(data_8bits)
class PaymentFailure(Exception): pass