From 68472cad568f22186a65d4e97b3ee99ed143d849 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sun, 6 Oct 2019 03:15:18 +0530 Subject: [PATCH] floBlockchainAPI.readData will now return a object with totalTxs and data --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9786771..a9abfd4 100644 --- a/index.html +++ b/index.html @@ -5117,7 +5117,7 @@ /*Read flo Data from txs of given Address options can be used to filter data limit : maximum number of filtered data (default = 1000, negative = no limit) - ignoreOld : ignore old txs (default = 0) + ignoreOld : ignore old txs (default = 0) sentOnly : filters only sent data pattern : filters data that starts with a pattern contains : filters data that contains a string @@ -5145,7 +5145,7 @@ continue; filteredData.push(response.items[i].floData); } - resolve(filteredData); + resolve({totalTxs:response.totalItems , data:filteredData}); }).catch(error => { reject(error); });