Skip to content

Commit bb36ba2

Browse files
committed
fix: lock utils for new lock script
1 parent 34fe916 commit bb36ba2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Script } from '../../src/types/cell-types'
1+
import { Script, ScriptHashType } from '../../src/types/cell-types'
22
import LockUtils from '../../src/models/lock-utils'
33

44
const systemScript = {
@@ -17,8 +17,9 @@ describe('LockUtils Test', () => {
1717
lockScript: {
1818
codeHash: '0x9e3b3557f11b2b3532ce352bfe8017e9fd11d154c4c7f9b7aaaa1e621b539a08',
1919
args: ['0x36c329ed630d6ce750712a477543672adab57f4c'],
20+
hashType: ScriptHashType.Data,
2021
},
21-
lockHash: '0x3dbdeb3538b7abe1b1f85a86b150805728c29b26faceb5051fb6c7f92c346ed8',
22+
lockHash: '0xba5fd1f8e0981fa0c5a18715619695d2b102b9c5be8381ecd0e1a0bec92a5e57',
2223
address: 'ckt1qyqrdsefa43s6m882pcj53m4gdnj4k440axqswmu83',
2324
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
2425
}

0 commit comments

Comments
 (0)