Bug fix
This commit is contained in:
parent
ee7776f877
commit
ed9e88ad2c
@ -6,6 +6,14 @@ window.IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange || window.ms
|
|||||||
if (!window.indexedDB) {
|
if (!window.indexedDB) {
|
||||||
window.alert("Your browser doesn't support a stable version of 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 supernodeKBucket;
|
||||||
var superNodeList;
|
var superNodeList;
|
||||||
var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
||||||
|
|||||||
@ -2,13 +2,6 @@ if( sessionStorage.profiles && sessionStorage.privKey && sessionStorage.selfID &
|
|||||||
window.location.replace("home.html");
|
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 sendAmt = 0.001 ;
|
||||||
const fee = 0.0005;
|
const fee = 0.0005;
|
||||||
var username,privKey,floID;
|
var username,privKey,floID;
|
||||||
@ -98,6 +91,7 @@ function signIn(){
|
|||||||
function login(){
|
function login(){
|
||||||
sessionStorage.privKey = JSON.stringify(encrypt.createShamirsSecretShares(privKey,10,10));
|
sessionStorage.privKey = JSON.stringify(encrypt.createShamirsSecretShares(privKey,10,10));
|
||||||
sessionStorage.selfID = floID;
|
sessionStorage.selfID = floID;
|
||||||
|
disableForm('userSignIn',true);
|
||||||
customAlert(`Welcome ${username}`,'info');
|
customAlert(`Welcome ${username}`,'info');
|
||||||
setTimeout(window.location.replace("home.html"), 3000);
|
setTimeout(window.location.replace("home.html"), 3000);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user