Set strFloData to default empty string
This commit is contained in:
parent
a4404e432a
commit
582dc351f7
@ -342,7 +342,10 @@ BlockController.prototype.getPoolInfo = function(tx) {
|
|||||||
if (!tx) {
|
if (!tx) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
var strFloData = tx.inputs[0].floData;
|
var strFloData = "";
|
||||||
|
|
||||||
|
if (tx.inputs[0].floData)
|
||||||
|
strFloData = tx.inputs[0].floData;
|
||||||
|
|
||||||
for(var k in this.poolStrings) {
|
for(var k in this.poolStrings) {
|
||||||
if (strFloData.match(k)) {
|
if (strFloData.match(k)) {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "flosight-api",
|
"name": "flosight-api",
|
||||||
"description": "A Florincoin blockchain REST and web socket API service for Flocore Node.",
|
"description": "A Florincoin blockchain REST and web socket API service for Flocore Node.",
|
||||||
"version": "5.0.0-beta.55",
|
"version": "5.0.0-beta.56",
|
||||||
"repository": "git://github.com/bitpay/flosight-api.git",
|
"repository": "git://github.com/bitpay/flosight-api.git",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bitpay/flosight-api/issues"
|
"url": "https://github.com/bitpay/flosight-api/issues"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user