mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: could not scan animated QR signed psbt
This commit is contained in:
parent
d3fb15e96f
commit
064a442a2c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue