Swap lodash pluck to map

This commit is contained in:
Sky Young 2018-07-30 09:49:06 -07:00
parent dda7bacca7
commit 5eb0687586
3 changed files with 9 additions and 2 deletions

View File

@ -204,7 +204,7 @@ TxController.prototype.transformInvTransaction = function(transaction) {
}
}
var isRBF = _.any(_.pluck(transaction.inputs, 'sequence'), function(seq) {
var isRBF = _.any(_.map(transaction.inputs, 'sequence'), function(seq) {
return seq < MAXINT - 1;
});

View File

@ -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.69",
"version": "5.0.0-beta.71",
"repository": "git://github.com/bitpay/flosight-api.git",
"bugs": {
"url": "https://github.com/bitpay/flosight-api/issues"

View File

@ -33,5 +33,12 @@
"searchStrings": [
"alexandria autominer pool (testnet)"
]
},
{
"poolName": "Node Merged Pool",
"url": "https://github.com/UNOMP/node-merged-pool",
"searchStrings": [
"https://github.com/UNOMP/node-merged-pool"
]
}
]