diff --git a/src/pg/chainhook/chainhook-pg-store.ts b/src/pg/chainhook/chainhook-pg-store.ts index cda77c3..3d88f5c 100644 --- a/src/pg/chainhook/chainhook-pg-store.ts +++ b/src/pg/chainhook/chainhook-pg-store.ts @@ -243,7 +243,7 @@ export class ChainhookPgStore extends BasePgStoreModule { ): Promise { await sql` UPDATE tokens - SET total_supply = total_supply + ${delta} + SET total_supply = total_supply + ${delta}, updated_at = NOW() WHERE smart_contract_id = (SELECT id FROM smart_contracts WHERE principal = ${contract}) AND token_number = 1 `;