Skip to content

Commit

Permalink
default witness is None, closes #559
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jun 26, 2024
1 parent 541324b commit a9612e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9612e6

Please sign in to comment.