Fix other locations that used strFloData

This commit is contained in:
Sky Young 2019-09-10 08:41:36 -06:00
parent b76c39403c
commit cf32836440
2 changed files with 5 additions and 5 deletions

View File

@ -371,13 +371,13 @@ BlockController.prototype.getPoolInfo = function(tx) {
if (!tx) { if (!tx) {
return {}; return {};
} }
var strFloData = ""; var floData = "";
if (tx.strFloData) if (tx.floData)
strFloData = tx.strFloData; floData = tx.floData.toString()
for(var k in this.poolStrings) { for(var k in this.poolStrings) {
if (strFloData.includes(k)) { if (floData.includes(k)) {
return this.poolStrings[k]; return this.poolStrings[k];
} }
} }

View File

@ -211,7 +211,7 @@ TxController.prototype.transformInvTransaction = function(transaction) {
valueOut: valueOut / 1e8, valueOut: valueOut / 1e8,
vout: vout, vout: vout,
isRBF: isRBF, isRBF: isRBF,
floData: transaction.strFloData floData: transaction.floData.toString()
}; };
return transformed; return transformed;