Skip to content

Commit

Permalink
Fix clearing txdb metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
caedesvvv committed Jan 22, 2015
1 parent e7de139 commit d5584ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/model/wallet.js
Expand Up @@ -168,7 +168,7 @@ Wallet.prototype.resetHistory = function() {
// delete tx metadata
Object.keys(this.identity.txdb.transactions).forEach(function(txId) {
[2, 3, 4, 5].forEach(function(idx) {
delete self.identity.txdb.transactions[idx];
delete self.identity.txdb.transactions[txId][idx];
});
});
this.store.save();
Expand Down

0 comments on commit d5584ec

Please sign in to comment.