Update testnet.html
This commit is contained in:
1 parent
c96b9cc2cd
commit
4690113fb2
1 file changed
+9
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user