mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Refactor secret conditions (#350)
* refactor spending conditions and add comments * fix kind enum deserialization
This commit is contained in:
@@ -40,7 +40,7 @@ class WalletHTLC(SupportsDb):
|
||||
tags["pubkeys"] = hashlock_pubkey
|
||||
|
||||
return HTLCSecret(
|
||||
kind=SecretKind.HTLC,
|
||||
kind=SecretKind.HTLC.value,
|
||||
data=preimage_hash,
|
||||
tags=tags,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user