This commit is contained in:
sairajzero 2019-07-24 16:19:08 +05:30
parent ee7776f877
commit ed9e88ad2c
2 changed files with 9 additions and 7 deletions

View File

@ -6,6 +6,14 @@ window.IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange || window.ms
if (!window.indexedDB) {
window.alert("Your browser doesn't support a stable version of IndexedDB.")
}
const adminID = "FMabh7gTSyKPAb2Wi9sK5CBhV8nVFk783i";
if(blockchain == "FLO")
var api_url = `https://flosight.duckdns.org/`;
else if(blockchain == "FLO_TEST")
var api_url = `https://testnet-flosight.duckdns.org/`;
var supernodeKBucket;
var superNodeList;
var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];

View File

@ -2,13 +2,6 @@ if( sessionStorage.profiles && sessionStorage.privKey && sessionStorage.selfID &
window.location.replace("home.html");
}
const adminID = "FMabh7gTSyKPAb2Wi9sK5CBhV8nVFk783i";
if(blockchain == "FLO")
var api_url = `https://flosight.duckdns.org/`;
else if(blockchain == "FLO_TEST")
var api_url = `https://testnet-flosight.duckdns.org/`;
const sendAmt = 0.001 ;
const fee = 0.0005;
var username,privKey,floID;
@ -98,6 +91,7 @@ function signIn(){
function login(){
sessionStorage.privKey = JSON.stringify(encrypt.createShamirsSecretShares(privKey,10,10));
sessionStorage.selfID = floID;
disableForm('userSignIn',true);
customAlert(`Welcome ${username}`,'info');
setTimeout(window.location.replace("home.html"), 3000);
}