bug fix: reading supernode data from API
This commit is contained in:
parent
c570c02ec6
commit
9c8ae50ce8
@ -142,7 +142,7 @@ function getDatafromAPI(){
|
|||||||
response.items.reverse().forEach(function(tx){
|
response.items.reverse().forEach(function(tx){
|
||||||
try {
|
try {
|
||||||
if (tx.vin[0].addr == addr){
|
if (tx.vin[0].addr == addr){
|
||||||
var data = JSON.parse(tx.floData).FLO_chat_SuperNode;
|
var data = JSON.parse(tx.floData).FLO_Tweet_SuperNode;
|
||||||
if(data !== undefined){
|
if(data !== undefined){
|
||||||
storeSuperNodeData(data).then(function (response) {
|
storeSuperNodeData(data).then(function (response) {
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user