diff --git a/src/app/execution/txRunner.js b/src/app/execution/txRunner.js index 951c4c448f..1a92680a91 100644 --- a/src/app/execution/txRunner.js +++ b/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() }