From 20e4dd8da0324755ef5cdbe401149d3b9381bf34 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Sat, 13 Jun 2015 12:06:43 -0300 Subject: [PATCH] update fetched txs --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index 60856c1..bdad5ba 100644 --- a/lib/server.js +++ b/lib/server.js @@ -750,7 +750,7 @@ WalletService.prototype._selectTxInputs = function(txp, cb) { WalletService.prototype._canCreateTx = function(copayerId, cb) { var self = this; - self.storage.fetchLastTxs(self.walletId, copayerId, 5, function(err, txs) { + self.storage.fetchLastTxs(self.walletId, copayerId, 5 + WalletService.backoffOffset, function(err, txs) { if (err) return cb(err); if (!txs.length)