default witness is None, closes #559 (#563)

This commit is contained in:
callebtc
2024-06-26 23:38:57 +02:00
committed by GitHub
parent 541324b2bd
commit 8af1b61b30

View File

@@ -125,7 +125,7 @@ class Proof(BaseModel):
Y: str = "" # hash_to_curve(secret)
C: str = "" # signature on secret, unblinded by wallet
dleq: Optional[DLEQWallet] = None # DLEQ proof
witness: Union[None, str] = "" # witness for spending condition
witness: Union[None, str] = None # witness for spending condition
# whether this proof is reserved for sending, used for coin management in the wallet
reserved: Union[None, bool] = False