mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3376 from gabrielbazan7/fix/initialTransactionMessage
fix message in mobile
This commit is contained in:
commit
621ebc6b4d
|
@ -757,14 +757,18 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
if (err) return cb(err);
|
||||
|
||||
var localTxs = [];
|
||||
|
||||
if (!txs) {
|
||||
self.showWaitingSign = true;
|
||||
return cb(null, localTxs);
|
||||
}
|
||||
|
||||
try {
|
||||
localTxs = JSON.parse(txs);
|
||||
} catch (ex) {
|
||||
$log.warn(ex);
|
||||
}
|
||||
|
||||
if (!localTxs) self.showWaitingSign = true;
|
||||
|
||||
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue