From 406dad1a044f12228fa5b4efa7b14e36fa1bdc64 Mon Sep 17 00:00:00 2001 From: supertestnet <58400631+supertestnet@users.noreply.github.com> Date: Thu, 16 Mar 2023 13:18:13 -0500 Subject: [PATCH] Update testnet.html --- testnet.html | 1 + 1 file changed, 1 insertion(+) diff --git a/testnet.html b/testnet.html index de6fbba..f9904b1 100644 --- a/testnet.html +++ b/testnet.html @@ -539,6 +539,7 @@ async function addressOnceHadMoney( address ) { var url = "https://mempool.space/testnet/api/address/" + address; var nonjson = await getData( url ); + if ( !isValidJson( nonjson ) ) return false; var json = JSON.parse( nonjson ); if ( json[ "chain_stats" ][ "tx_count" ] > 0 || json[ "mempool_stats" ][ "tx_count" ] > 0 ) { return true;