From 889e0f5886804c872248fa77f2b2576f3b801b53 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Tue, 24 Feb 2026 00:50:49 +0300 Subject: [PATCH] fix: unify platform wallet for deposit and withdrawal Changed PLATFORM_WALLET to deposit wallet address (5H18ZZBU...) so both deposit and withdrawal use the same custody wallet. --- web/supabase/functions/process-withdraw/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/supabase/functions/process-withdraw/index.ts b/web/supabase/functions/process-withdraw/index.ts index 0e16ea27..a3f205b4 100644 --- a/web/supabase/functions/process-withdraw/index.ts +++ b/web/supabase/functions/process-withdraw/index.ts @@ -48,7 +48,7 @@ function getCorsHeaders(origin: string | null) { } // Platform hot wallet address -const PLATFORM_WALLET = '5HN6sFM7TbPQazmfhJP1kU8itw7Tb2A9UML8TwSYRwiN9q5Z' +const PLATFORM_WALLET = '5H18ZZBU4LwPYbeEZ1JBGvibCU2edhhM8HNUtFi7GgC36CgS' // RPC endpoint — defaults to Asset Hub where user balances live const RPC_ENDPOINT = Deno.env.get('RPC_ENDPOINT') || 'wss://asset-hub-rpc.pezkuwichain.io'