There was an error while loading. Please reload this page.
1 parent c914dff commit d5ba396Copy full SHA for d5ba396
1 file changed
packages/neuron-wallet/src/services/cells.ts
@@ -52,9 +52,9 @@ export default class CellsService {
52
.getRepository(OutputEntity)
53
.createQueryBuilder('output')
54
.leftJoinAndSelect('output.transaction', 'tx')
55
- .where(`output.status = :status AND output.daoData IS NOT NULL AND output.lockHash in (:...lockHashes) AND tx.blockNumber IS NOT NULL`, {
+ .where(`output.status <> :deadStatus AND output.daoData IS NOT NULL AND output.lockHash in (:...lockHashes) AND tx.blockNumber IS NOT NULL`, {
56
lockHashes,
57
- status: OutputStatus.Live,
+ deadStatus: OutputStatus.Dead,
58
})
59
.orderBy(`CASE output.daoData WHEN '0x0000000000000000' THEN 1 ELSE 0 END`, 'ASC')
60
.addOrderBy('tx.timestamp', 'ASC')
0 commit comments