fix: align treasury alert slashing fields with current schema
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s

This commit is contained in:
OG T
2026-06-09 18:22:17 +08:00
parent 26c7c4c213
commit a1856d08bc

View File

@@ -21,8 +21,8 @@ export async function GET(request: Request) {
for (const slashing of newSlashings) {
alerts.push(`🚨 [TREASURY ALERT - SLASHING]
Agent ${slashing.slashed_agent_id} was penalized!
💸 Amount Confiscated: ${(slashing.amount_cents / 100).toFixed(2)} USDC
Agent ${slashing.agent_id} was penalized!
💸 Amount Confiscated: ${(slashing.slashed_amount / 100).toFixed(2)} USDC
💼 Transferred to Platform Treasury.`);
}
lastCheckedSlashingCount = currentSlashingCount;