fix: do not add a default for merchant time column
This commit is contained in:
parent
3d2d8198bc
commit
927d8661ef
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ class PartialMerchant(BaseModel):
|
|||
|
||||
class Merchant(PartialMerchant, Nostrable):
|
||||
id: str
|
||||
time: Optional[int]
|
||||
time: Optional[int] = 0
|
||||
|
||||
def sign_hash(self, hash: bytes) -> str:
|
||||
return sign_message_hash(self.private_key, hash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue