got receive bitcoin event working

This commit is contained in:
Kadir Sekha 2017-11-16 16:35:34 +09:00
commit 6e425dd815
2 changed files with 47 additions and 1 deletions

View file

@ -622,5 +622,17 @@ angular.module('copayApp.services')
storage.remove('MercadoLibreGiftCards-' + network, cb);
};
root.setReceivedTransactions = function(walletId, txIds, cb) {
storage.set('receivedTxs-' + walletId, txIds, cb);
}
root.getReceivedTransactions = function(walletId, cb) {
storage.get('receivedTxs-' + walletId, cb);
}
root.removeReceivedTransactions = function(walletId, cb) {
storage.remove('receivedTxs-' + walletId, cb);
}
return root;
});