Update index.html
This commit is contained in:
parent
4af9dfbd9b
commit
b27109179c
@ -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(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user