mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
FIX: could not scan animated QR signed psbt
This commit is contained in:
parent
d3fb15e96f
commit
064a442a2c
@ -151,6 +151,7 @@ export default class PsbtWithHardwareWallet extends Component {
|
||||
const psbtB64 = Buffer.from(payload, 'hex').toString('base64');
|
||||
const Tx = this._combinePSBT(psbtB64);
|
||||
this.setState({ txhex: Tx.toHex() });
|
||||
this.props.navigation.dangerouslyGetParent().pop();
|
||||
}
|
||||
},
|
||||
);
|
||||
@ -167,7 +168,6 @@ export default class PsbtWithHardwareWallet extends Component {
|
||||
onBarScanned = ret => {
|
||||
if (ret && !ret.data) ret = { data: ret };
|
||||
if (ret.data.toUpperCase().startsWith('UR')) {
|
||||
this.props.navigation.dangerouslyGetParent().pop();
|
||||
return this._onReadUniformResource(ret.data);
|
||||
}
|
||||
if (ret.data.indexOf('+') === -1 && ret.data.indexOf('=') === -1 && ret.data.indexOf('=') === -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user