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);
|
if (err) return cb(err);
|
||||||
|
|
||||||
var localTxs = [];
|
var localTxs = [];
|
||||||
|
|
||||||
|
if (!txs) {
|
||||||
|
self.showWaitingSign = true;
|
||||||
|
return cb(null, localTxs);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
localTxs = JSON.parse(txs);
|
localTxs = JSON.parse(txs);
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
$log.warn(ex);
|
$log.warn(ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!localTxs) self.showWaitingSign = true;
|
|
||||||
|
|
||||||
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1283,4 +1287,4 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
self.setFocusedWallet();
|
self.setFocusedWallet();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
Reference in New Issue