aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 6934e9d3e..6952a1cc8 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -271,6 +271,13 @@ function newUnsignedMessage (msgParams, cb) {
}
}
+createTxNotification({
+ title: 'New Unsigned Transaction',
+ txParams: {to: '0xabc', from: '0xdef'},
+ // confirm: idStore.approveTransaction.bind(idStore, txData.id, noop),
+ // cancel: idStore.cancelTransaction.bind(idStore, txData.id),
+})
+
function addUnconfirmedTx (txParams, onTxDoneCb) {
idStore.addUnconfirmedTransaction(txParams, onTxDoneCb, function (err, txData) {
if (err) return onTxDoneCb(err)