diff --git a/lib/blocks.js b/lib/blocks.js index 352053d..55acd91 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -348,7 +348,7 @@ BlockController.prototype.getPoolInfo = function(tx) { strFloData = tx.floData; for(var k in this.poolStrings) { - if (strFloData.match(k)) { + if (strFloData.includes(k)) { return this.poolStrings[k]; } } diff --git a/package.json b/package.json index 0e3bfd5..9943b2e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flosight-api", "description": "A Florincoin blockchain REST and web socket API service for Flocore Node.", - "version": "5.0.0-beta.57", + "version": "5.0.0-beta.58", "repository": "git://github.com/bitpay/flosight-api.git", "bugs": { "url": "https://github.com/bitpay/flosight-api/issues"