Skip to content

Commit 916fa80

Browse files
committed
using .some instead of .any and .map instead of .pluck
1 parent dbfafe8 commit 916fa80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/transactions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ TxController.prototype.transformInvTransaction = function(transaction) {
203203
}
204204
}
205205

206-
var isRBF = _.any(_.pluck(transaction.inputs, 'sequence'), function(seq) {
206+
var isRBF = _.some(_.map(transaction.inputs, 'sequence'), function(seq) {
207207
return seq < MAXINT - 1;
208208
});
209209

0 commit comments

Comments
 (0)