diff --git a/lib/blocks.js b/lib/blocks.js index 05a0d91..f39b2b1 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -371,13 +371,13 @@ BlockController.prototype.getPoolInfo = function(tx) { if (!tx) { return {}; } - var strFloData = ""; + var floData = ""; - if (tx.strFloData) - strFloData = tx.strFloData; + if (tx.floData) + floData = tx.floData.toString() for(var k in this.poolStrings) { - if (strFloData.includes(k)) { + if (floData.includes(k)) { return this.poolStrings[k]; } } diff --git a/lib/transactions.js b/lib/transactions.js index fa2541e..0cb5ae8 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -211,7 +211,7 @@ TxController.prototype.transformInvTransaction = function(transaction) { valueOut: valueOut / 1e8, vout: vout, isRBF: isRBF, - floData: transaction.strFloData + floData: transaction.floData.toString() }; return transformed;