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>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>215</string>
|
<string>216</string>
|
||||||
<key>ITSAppUsesNonExemptEncryption</key>
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
@ -109,7 +109,6 @@ export default class ScanLndInvoice extends React.Component {
|
|||||||
isAmountInitiallyEmpty: decoded.num_satoshis === '0',
|
isAmountInitiallyEmpty: decoded.num_satoshis === '0',
|
||||||
});
|
});
|
||||||
} catch (Err) {
|
} catch (Err) {
|
||||||
this.setState({ destination: '' });
|
|
||||||
alert(Err.message);
|
alert(Err.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -229,7 +229,7 @@ export default class SendDetails extends Component {
|
|||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
alert(error.errorMessage);
|
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