Browse Source

FIX: RBF broadcast fix

fixqramount
Overtorment 5 years ago
parent
commit
23ba40eb1f
  1. 6
      screen/transactions/RBF-create.js

6
screen/transactions/RBF-create.js

@ -153,7 +153,11 @@ export default class SendCreate extends Component {
let result = await this.state.fromWallet.broadcastTx(this.state.tx);
console.log('broadcast result = ', result);
if (typeof result === 'string') {
result = JSON.parse(result);
try {
result = JSON.parse(result);
} catch (_) {
result = { result };
}
}
if (result && result.error) {
alert(JSON.stringify(result.error));

Loading…
Cancel
Save