mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
FIX: Don't override existing tx information when scanning invalid QR
This commit is contained in:
parent
d1a9371f87
commit
88379c7e51
@ -33,7 +33,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>215</string>
|
||||
<string>216</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
|
@ -109,7 +109,6 @@ export default class ScanLndInvoice extends React.Component {
|
||||
isAmountInitiallyEmpty: decoded.num_satoshis === '0',
|
||||
});
|
||||
} catch (Err) {
|
||||
this.setState({ destination: '' });
|
||||
alert(Err.message);
|
||||
}
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ export default class SendDetails extends Component {
|
||||
})
|
||||
.catch(error => {
|
||||
alert(error.errorMessage);
|
||||
this.setState({ address: text.replace(' ', ''), isLoading: false, bip70TransactionExpiration: null, amount: 0 });
|
||||
this.setState({ isLoading: false, bip70TransactionExpiration: null });
|
||||
});
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user