Skip to content

Commit

Permalink
fix: address balance error in indexer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Oct 8, 2019
1 parent de940d4 commit 0a35d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/neuron-wallet/src/services/indexer/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ export default class IndexerQueue {
blockHash: transactionWithStatus.txStatus.blockHash!
}
if (type === TxPointType.CreatedBy && this.latestCreatedBy.includes(txUniqueFlag)) {
const address = LockUtils.lockScriptToAddress(transaction.outputs![parseInt(txPoint.index, 16)].lock)
AddressesUsedSubject.getSubject().next([address])
return
}

Expand Down

0 comments on commit 0a35d61

Please sign in to comment.