Adds return

This commit is contained in:
Gustavo Maximiliano Cortez 2015-07-14 12:19:22 -03:00
parent 4983cfb4c4
commit 7945e9ca59
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
if (err) return cb(err);
if (txs && txs.length > 0) {
allTxs.push(txs);
getHistory(skip + 100, cb);
return getHistory(skip + 100, cb);
}
else {
return cb(null, lodash.flatten(allTxs));