Lodash any -> some

https://lodash.com/docs/3.10.1#some
This commit is contained in:
Sky Young 2018-07-30 09:53:16 -07:00
parent 5eb0687586
commit cf65f963c8
2 changed files with 2 additions and 2 deletions

View File

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

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.71", "version": "5.0.0-beta.72",
"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"