Update index.html
This commit is contained in:
parent
1ff12f0810
commit
4af9dfbd9b
@ -8210,7 +8210,7 @@ Bitcoin.Util = {
|
|||||||
|
|
||||||
function refreshBlockchainData() {
|
function refreshBlockchainData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
compactIDB.readData("appendix", "lastTx").then(lastTx => {
|
compactIDB.readData("appendix", "lastTx" + floGlobals.adminID).then(lastTx => {
|
||||||
floBlockchainAPI.readData(floGlobals.adminID, {
|
floBlockchainAPI.readData(floGlobals.adminID, {
|
||||||
ignoreOld: lastTx,
|
ignoreOld: lastTx,
|
||||||
sentOnly: true,
|
sentOnly: true,
|
||||||
@ -8222,7 +8222,7 @@ Bitcoin.Util = {
|
|||||||
compactIDB.addData('bonds', d[1], d[0])
|
compactIDB.addData('bonds', d[1], d[0])
|
||||||
data[d[0]] = d[1];
|
data[d[0]] = d[1];
|
||||||
});
|
});
|
||||||
compactIDB.writeData('appendix', result.totalTxs, "lastTx");
|
compactIDB.writeData('appendix', result.totalTxs, "lastTx" + floGlobals.adminID);
|
||||||
resolve(data);
|
resolve(data);
|
||||||
}).catch(error => reject(error))
|
}).catch(error => reject(error))
|
||||||
}).catch(error => reject(error))
|
}).catch(error => reject(error))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user