diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/Utils.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/Utils.js b/js/Utils.js index 014e7aac..ab2179c8 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -93,16 +93,6 @@ function netTypeToString(){ return nettype == 1 ? qsTr("Testnet") : nettype == 2 ? qsTr("Stagenet") : qsTr("Mainnet"); } -function randomChoice(arr){ - return arr[Math.floor(Math.random() * arr.length)]; -} - -function filterNodes(nodes, port) { - if(typeof data === 'number') - port = port.toString(); - return nodes.filter(function(_){return _.indexOf(port) !== -1}); -} - function epoch(){ return Math.floor((new Date).getTime()/1000); } |
