Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #191 from blockchain/ignore-archived
Browse files Browse the repository at this point in the history
Treat coins associated with archived addresses as external
  • Loading branch information
Pernas committed Apr 20, 2016
2 parents a7d583a + df3d8af commit e3aeabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function isAccount (x) {
}

function isLegacy (x) {
return MyWallet.wallet.containsLegacyAddress(x.addr);
return MyWallet.wallet.containsLegacyAddress(x.addr) && !MyWallet.wallet.key(x.addr).archived;
}

function isAccountChange (x) {
Expand Down

0 comments on commit e3aeabf

Please sign in to comment.