diff --git a/apps/blockchain-node/src/aitbc_chain/models.py b/apps/blockchain-node/src/aitbc_chain/models.py index 820e2f1e..0860adbd 100755 --- a/apps/blockchain-node/src/aitbc_chain/models.py +++ b/apps/blockchain-node/src/aitbc_chain/models.py @@ -171,7 +171,7 @@ class Account(SQLModel, table=True): chain_id: str = Field(primary_key=True) address: str = Field(primary_key=True) balance: int = Field(default=0, sa_type=BigInteger) - nonce: int = 0 + nonce: int = Field(default=0, sa_type=BigInteger) updated_at: datetime = Field(default_factory=lambda: datetime.now(timezone.utc)) class Escrow(SQLModel, table=True):