Adds return
This commit is contained in:
parent
4983cfb4c4
commit
7945e9ca59
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
if (txs && txs.length > 0) {
|
if (txs && txs.length > 0) {
|
||||||
allTxs.push(txs);
|
allTxs.push(txs);
|
||||||
getHistory(skip + 100, cb);
|
return getHistory(skip + 100, cb);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return cb(null, lodash.flatten(allTxs));
|
return cb(null, lodash.flatten(allTxs));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue