Update testnet.html

This commit is contained in:
supertestnet authored and GitHub committed 2023-03-16 15:17:13 -05:00
1 parent c96b9cc2cd
commit 4690113fb2
1 file changed
+9
+9
View File
@@ -422,6 +422,15 @@
fees = JSON.parse( fees );
return fees;
}
function isValidJson( content ) {
if ( !content ) return;
try {
var json = JSON.parse( content );
} catch ( e ) {
return;
}
return true;
}
function getData( url ) {
return new Promise( async function( resolve, reject ) {
function inner_get( url ) {