FIX: Show error message on aler.

This commit is contained in:
Marcos Rodriguez Vélez 2019-02-04 16:09:51 -05:00 committed by Igor Korsakov
parent 251cebad35
commit 5865de2185

View file

@ -148,8 +148,7 @@ export default class ScanLndInvoice extends React.Component {
} catch (Err) {
console.log(Err.message);
this.setState({ isLoading: false });
this.props.navigation.goBack();
return alert('Error');
return alert(Err.message);
}
EV(EV.enum.REMOTE_TRANSACTIONS_COUNT_CHANGED); // someone should fetch txs