Skip to content

Commit 9340e41

Browse files
committed
fix: remove hash_type=Type in test
1 parent 397ee9d commit 9340e41

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

packages/neuron-wallet/tests/models/lock-utils.test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('LockUtils Test', () => {
8181

8282
const lockHashes: string[] = await LockUtils.addressToAllLockHashes(bob.address)
8383

84-
expect(lockHashes).toEqual([bob.lockHash, bob.lockHashWhenType])
84+
expect(lockHashes).toEqual([bob.lockHash])
8585
})
8686

8787
it('addressesToAllLockHashes', async () => {
@@ -91,12 +91,7 @@ describe('LockUtils Test', () => {
9191

9292
const lockHashes: string[] = await LockUtils.addressesToAllLockHashes([bob.address, alice.address])
9393

94-
const expectedResult = [
95-
bob.lockHash,
96-
bob.lockHashWhenType,
97-
alice.lockHash,
98-
alice.lockHashWhenType,
99-
]
94+
const expectedResult = [bob.lockHash, alice.lockHash]
10095

10196
expect(lockHashes).toEqual(expectedResult)
10297
})

0 commit comments

Comments
 (0)