Fixed issue with fetching FLO ID balance
This commit is contained in:
parent
21a8ac7f59
commit
227c45c2c2
@ -96,7 +96,7 @@
|
|||||||
<!-- Set urls for token and flo Apis -->
|
<!-- Set urls for token and flo Apis -->
|
||||||
<script>
|
<script>
|
||||||
window.tokenapiUrl = 'https://ranchimallflo.duckdns.org'
|
window.tokenapiUrl = 'https://ranchimallflo.duckdns.org'
|
||||||
window.floapiUrl = 'https://livenet.flocha.in'
|
window.floApiUrl = 'https://flosight.duckdns.org'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -1647,7 +1647,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getAddressBalance(floAddress) {
|
async function getAddressBalance(floAddress) {
|
||||||
const response = await fetch(`${floapiUrl}/api/addr/${floAddress}/balance`),
|
const response = await fetch(`${floApiUrl}/api/addr/${floAddress}/balance`),
|
||||||
balance = await response.json()
|
balance = await response.json()
|
||||||
return balance;
|
return balance;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user