fix: do not add a default for merchant time column

This commit is contained in:
Vlad Stan 2023-07-11 09:30:09 +03:00
parent 3d2d8198bc
commit 927d8661ef
2 changed files with 2 additions and 2 deletions

View file

@ -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)