Notify when a tx has been confirmed
This commit is contained in:
parent
044de850ec
commit
5ae543d4c4
5 changed files with 73 additions and 1 deletions
|
|
@ -598,5 +598,17 @@ angular.module('copayApp.services')
|
|||
storage.remove('amazonGiftCards-' + network, cb);
|
||||
};
|
||||
|
||||
root.setTxConfirmNotification = function(txid, val, cb) {
|
||||
storage.set('txConfirmNotif-' + txid, val, cb);
|
||||
};
|
||||
|
||||
root.getTxConfirmNotification = function(txid, cb) {
|
||||
storage.get('txConfirmNotif-' + txid, cb);
|
||||
};
|
||||
|
||||
root.removeTxConfirmNotification = function(txid, cb) {
|
||||
storage.remove('txConfirmNotif-' + txid, cb);
|
||||
};
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue