Merge pull request #3303 from javierbitpay/feat/tx-history-02
Feat/tx history 02
This commit is contained in:
commit
c9f1775cac
4 changed files with 177 additions and 104 deletions
|
|
@ -216,5 +216,17 @@ angular.module('copayApp.services')
|
|||
storage.remove('addressbook-' + network, cb);
|
||||
};
|
||||
|
||||
root.setTxHistory = function(txs, walletId, cb) {
|
||||
storage.set('txsHistory-' + walletId, txs, cb);
|
||||
}
|
||||
|
||||
root.getTxHistory = function(walletId, cb) {
|
||||
storage.get('txsHistory-' + walletId, cb);
|
||||
}
|
||||
|
||||
root.removeTxHistory = function(walletId, cb) {
|
||||
storage.remove('txsHistory-' + walletId, cb);
|
||||
}
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue