Update index.html

This commit is contained in:
sairajzero 2021-04-23 16:42:25 +05:30
parent 4af9dfbd9b
commit b27109179c

View File

@ -8246,7 +8246,7 @@ Bitcoin.Util = {
})
return new Promise((resolve, reject) => {
let f0 = fetchData(`https://api.ratesapi.io/api/latest?base=USD&symbols=INR`), // USD rate
f1 = fetchData(`http://api.coindesk.com/v1/bpi/historical/close.json`); //BTC rate
f1 = fetchData(`https://api.coindesk.com/v1/bpi/historical/close.json`); //BTC rate
Promise.all([f0, f1]).then(result => {
let USD = result[0]["rates"]["INR"],
k = Object.keys(result[1]["bpi"]).sort().pop(),