add callback if tx canceled

pull/3094/head
yann300 7 years ago
parent 4674cd4f24
commit 756aedb4b3
  1. 7
      src/app/execution/txRunner.js

@ -133,7 +133,12 @@ TxRunner.prototype.execute = function (args, callback) {
{ label: 'Confirm',
fn: () => {
execute()
}})
}}, {
label: 'Cancel',
fn: () => {
return callback('Transaction canceled by user.')
}
})
} else {
execute()
}

Loading…
Cancel
Save