Grab floData from the correct variable

This commit is contained in:
Sky Young 2019-09-10 08:37:57 -06:00
parent 77eac048ea
commit b76c39403c
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ TxController.prototype.transformTransaction = function(transaction, options, cal
txid: transaction.txid(), txid: transaction.txid(),
version: transaction.version, version: transaction.version,
locktime: transaction.locktime, locktime: transaction.locktime,
floData: transaction.strFloData floData: transaction.floData.toString()
}; };
if(transaction.inputs[0].isCoinbase()) { if(transaction.inputs[0].isCoinbase()) {

View File

@ -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.74", "version": "5.0.0-beta.75",
"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"
@ -30,7 +30,7 @@
"dependencies": { "dependencies": {
"JSONStream": "^1.3.1", "JSONStream": "^1.3.1",
"async": "*", "async": "*",
"fcoin": "^1.1.0", "fcoin": "^1.1.1",
"flocore-lib": "^0.15.2", "flocore-lib": "^0.15.2",
"flocore-message": "^1.0.7", "flocore-message": "^1.0.7",
"body-parser": "^1.13.3", "body-parser": "^1.13.3",