mirror of https://github.com/BTCPrivate/copay.git
Adds return
This commit is contained in:
parent
4983cfb4c4
commit
7945e9ca59
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue