Skip to content

Commit

Permalink
Fix MasterKey use after #158 and #200 conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKitty committed Sep 21, 2023
1 parent 04b7d40 commit 3b25f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Activity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async function parseTXs(arrTXs) {
// Check all addresses to find our own, caching them for performance
for (const strAddr of cTx.receivers.concat(cTx.senders)) {
// If a previous Tx checked this address, skip it, otherwise, check it against our own address(es)
if (!(await wallet.getMasterKey().isOwnAddress(strAddr))) {
if (!(await wallet.isOwnAddress(strAddr))) {
// External address, this is not a self-only Tx
fSendToSelf = false;
}
Expand All @@ -208,7 +208,7 @@ async function parseTXs(arrTXs) {
const arrExternalAddresses = (
await Promise.all(
cTx[where].map(async (addr) => [
await wallet.getMasterKey().isOwnAddress(addr),
await wallet.isOwnAddress(addr),
addr,
])
)
Expand Down

0 comments on commit 3b25f85

Please sign in to comment.