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) {
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];
}
}

View File

@ -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;