@ -139,6 +139,7 @@ Pane {
? 1
? 1
: 2
: 2
Label {
Label {
id: bumpfeeinfo
Layout.fillWidth: true
Layout.fillWidth: true
text: qsTr ( 'This transaction is still unconfirmed.' ) + '\n' + ( txdetails . canCancel
text: qsTr ( 'This transaction is still unconfirmed.' ) + '\n' + ( txdetails . canCancel
? qsTr ( 'You can increase fees to speed up the transaction, or cancel this transaction' )
? qsTr ( 'You can increase fees to speed up the transaction, or cancel this transaction' )
@ -449,6 +450,10 @@ Pane {
var dialog = app . messageDialog . createObject ( app , { text: message } )
var dialog = app . messageDialog . createObject ( app , { text: message } )
dialog . open ( )
dialog . open ( )
}
}
function onBroadcastSucceeded ( ) {
bumpfeeinfo . text = qsTr ( 'Transaction was broadcast successfully' )
actionButtonsLayout . visible = false
}
}
}
Component {
Component {
@ -464,7 +469,6 @@ Pane {
root . rawtx = rbffeebumper . getNewTx ( )
root . rawtx = rbffeebumper . getNewTx ( )
if ( txdetails . wallet . canSignWithoutCosigner ) {
if ( txdetails . wallet . canSignWithoutCosigner ) {
txdetails . sign_and_broadcast ( )
txdetails . sign_and_broadcast ( )
/ / c l o s e t x d e t a i l s ?
} else {
} else {
var dialog = app . messageDialog . createObject ( app , {
var dialog = app . messageDialog . createObject ( app , {
text: qsTr ( 'Transaction fee updated.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )
text: qsTr ( 'Transaction fee updated.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )
@ -491,7 +495,6 @@ Pane {
root . rawtx = cpfpfeebumper . getNewTx ( )
root . rawtx = cpfpfeebumper . getNewTx ( )
if ( txdetails . wallet . canSignWithoutCosigner ) {
if ( txdetails . wallet . canSignWithoutCosigner ) {
txdetails . sign_and_broadcast ( )
txdetails . sign_and_broadcast ( )
/ / c l o s e t x d e t a i l s ?
} else {
} else {
var dialog = app . messageDialog . createObject ( app , {
var dialog = app . messageDialog . createObject ( app , {
text: qsTr ( 'CPFP fee bump transaction created.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )
text: qsTr ( 'CPFP fee bump transaction created.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )
@ -517,7 +520,6 @@ Pane {
root . rawtx = txcanceller . getNewTx ( )
root . rawtx = txcanceller . getNewTx ( )
if ( txdetails . wallet . canSignWithoutCosigner ) {
if ( txdetails . wallet . canSignWithoutCosigner ) {
txdetails . sign_and_broadcast ( )
txdetails . sign_and_broadcast ( )
/ / c l o s e t x d e t a i l s ?
} else {
} else {
var dialog = app . messageDialog . createObject ( app , {
var dialog = app . messageDialog . createObject ( app , {
text: qsTr ( 'Cancel transaction created.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )
text: qsTr ( 'Cancel transaction created.' ) + '\n\n' + qsTr ( 'You still need to sign and broadcast this transaction.' )