|
|
@ -959,10 +959,11 @@ function EDEX_GetTxIDList(gettxdata) { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function EDEX_RemoveTXID(_obj, txidArray) { |
|
|
|
var txidToStr = txidArray.join(':'); |
|
|
|
console.log(txidToStr); |
|
|
|
|
|
|
|
if (_obj, _obj.basilisk) { |
|
|
|
if (Object.keys(_obj.basilisk).length === 0) { |
|
|
|
console.log('no coin nodes to parse'); |
|
|
@ -975,7 +976,7 @@ function EDEX_RemoveTXID(_obj, txidArray) { |
|
|
|
_obj.basilisk[key][coinAddr].refresh.data.length > 0) { |
|
|
|
for (var i = 0; i < _obj.basilisk[key][coinAddr].refresh.data.length; i++) { |
|
|
|
if (txidToStr.indexOf(_obj.basilisk[key][coinAddr].refresh.data[i].txid) > -1) { |
|
|
|
delete _obj.basilisk[key][coinAddr].refresh.data[i]; |
|
|
|
_obj.basilisk[key][coinAddr].refresh.data.splice(i, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -986,6 +987,5 @@ function EDEX_RemoveTXID(_obj, txidArray) { |
|
|
|
} else { |
|
|
|
console.log('basilisk node is missing'); |
|
|
|
} |
|
|
|
|
|
|
|
return _obj; |
|
|
|
} |