From e963fd25d5edba817d8b2ddf67ec6edd5a95e30c Mon Sep 17 00:00:00 2001 From: Sky Young Date: Thu, 17 May 2018 10:44:21 -0700 Subject: [PATCH] Update flocore lib version --- lib/blocks.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/blocks.js b/lib/blocks.js index 5fba166..b59b4e3 100644 --- a/lib/blocks.js +++ b/lib/blocks.js @@ -335,7 +335,7 @@ BlockController.prototype.getBlockReward = function(tx) { tx.outputs.forEach(function(output) { amt += output.value; }); - return flocore.Unit.fromSatoshis(amt).toBTC(); + return flocore.Unit.fromSatoshis(amt).toFLO(); }; BlockController.prototype.getPoolInfo = function(tx) { diff --git a/package.json b/package.json index bd96306..c7905b1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flosight-api", "description": "A Florincoin blockchain REST and web socket API service for Flocore Node.", - "version": "5.0.0-beta.50", + "version": "5.0.0-beta.51", "repository": "git://github.com/bitpay/flosight-api.git", "bugs": { "url": "https://github.com/bitpay/flosight-api/issues" @@ -31,7 +31,7 @@ "JSONStream": "^1.3.1", "async": "*", "fcoin": "1.0.0-beta.17", - "flocore-lib": "0.15.0", + "flocore-lib": "0.15.1", "flocore-message": "^1.0.5", "body-parser": "^1.13.3", "compression": "^1.6.1", @@ -42,7 +42,7 @@ }, "devDependencies": { "florincoind-rpc": "0.7.1", - "flocore-p2p": "5.0.0-beta.2", + "flocore-p2p": "5.0.0-beta.4", "chai": "^3.5.0", "mkdirp": "^0.5.1", "mocha": "^2.4.5",