From af47047d90f41b87b3f2a18f21978503e5c4748f Mon Sep 17 00:00:00 2001 From: thisconnect Date: Wed, 15 Jan 2025 17:23:38 +0100 Subject: [PATCH] frontend: temp only use debug key Currently production key is used even if in testnet mode, it uses the same logic as skipfortesting component. But with that there is now way to use the debug key in qt app. --- frontends/web/src/routes/exchange/btcdirect.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontends/web/src/routes/exchange/btcdirect.tsx b/frontends/web/src/routes/exchange/btcdirect.tsx index 69bdf16041..67ab00347a 100644 --- a/frontends/web/src/routes/exchange/btcdirect.tsx +++ b/frontends/web/src/routes/exchange/btcdirect.tsx @@ -130,9 +130,11 @@ export const BTCDirect = ({ accounts, code }: TProps) => { data-address={address} data-dev-mode={debugMode ? 'debug' : 'production'} data-api-key={ - debugMode - ? '6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83' - : '7d71f633626901d5c4d06d91f7d0db2c15cdf524ddd0ebcd36f4d9c4e04694cd' + '6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83' + // TODO: enable production api-key + // debugMode + // ? '6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83' + // : '7d71f633626901d5c4d06d91f7d0db2c15cdf524ddd0ebcd36f4d9c4e04694cd' } src="/btcdirect/fiat-to-coin.html">