Skip to content

Commit 44eb87a

Browse files
committed
fix: check
1 parent 76bf66c commit 44eb87a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/neuron-wallet/src/controllers/dao.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class DaoController {
3434
multisigConfig.m,
3535
multisigConfig.n
3636
)
37-
const cells = await CellsService.getDaoCells({ walletId: '', lockArgs: multiSignBlake160 })
37+
const cells = await CellsService.getDaoCells('', multiSignBlake160)
3838

3939
if (!cells) {
4040
throw new ServiceHasNoResponse('DaoCells')

packages/neuron-wallet/src/services/cells.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export default class CellsService {
223223
return cells
224224
}
225225

226-
public static async getDaoCells({ walletId, lockArgs }: { walletId: string; lockArgs?: string }): Promise<Cell[]> {
226+
public static async getDaoCells(walletId: string, lockArgs?: string): Promise<Cell[]> {
227227
const outputs: OutputEntity[] = await getConnection()
228228
.getRepository(OutputEntity)
229229
.createQueryBuilder('output')

0 commit comments

Comments
 (0)