From 916fa80d1a9fe98d91412310ba58133a19c8891f Mon Sep 17 00:00:00 2001 From: Omar Sagga Date: Thu, 21 Jun 2018 12:02:35 -0400 Subject: [PATCH] using .some instead of .any and .map instead of .pluck --- lib/transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transactions.js b/lib/transactions.js index 42b2e1457..74d394aa6 100644 --- a/lib/transactions.js +++ b/lib/transactions.js @@ -203,7 +203,7 @@ TxController.prototype.transformInvTransaction = function(transaction) { } } - var isRBF = _.any(_.pluck(transaction.inputs, 'sequence'), function(seq) { + var isRBF = _.some(_.map(transaction.inputs, 'sequence'), function(seq) { return seq < MAXINT - 1; });