FIX: crash on PSBT tx broadcast (when using with hardware wallet)

This commit is contained in:
Overtorment 2019-11-02 22:51:33 +00:00
parent fb36be5a53
commit 954cb88ebf

View file

@ -61,7 +61,7 @@ export default class PsbtWithHardwareWallet extends Component {
console.log('send/psbtWithHardwareWallet - componentDidMount'); console.log('send/psbtWithHardwareWallet - componentDidMount');
} }
broadcast() { broadcast = () => {
this.setState({ isLoading: true }, async () => { this.setState({ isLoading: true }, async () => {
try { try {
await BlueElectrum.ping(); await BlueElectrum.ping();
@ -87,7 +87,7 @@ export default class PsbtWithHardwareWallet extends Component {
alert(error.message); alert(error.message);
} }
}); });
} };
_renderScanner() { _renderScanner() {
return ( return (