We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 080176e commit 94b9486Copy full SHA for 94b9486
src/pg/chainhook/chainhook-pg-store.ts
@@ -243,7 +243,7 @@ export class ChainhookPgStore extends BasePgStoreModule {
243
): Promise<void> {
244
await sql`
245
UPDATE tokens
246
- SET total_supply = total_supply + ${delta}
+ SET total_supply = total_supply + ${delta}, updated_at = NOW()
247
WHERE smart_contract_id = (SELECT id FROM smart_contracts WHERE principal = ${contract})
248
AND token_number = 1
249
`;
0 commit comments