Skip to content

Commit

Permalink
fix: lock utils for new lock script
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Jul 29, 2019
1 parent 34fe916 commit bb36ba2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/neuron-wallet/tests/models/lock-utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Script } from '../../src/types/cell-types'
import { Script, ScriptHashType } from '../../src/types/cell-types'
import LockUtils from '../../src/models/lock-utils'

const systemScript = {
Expand All @@ -17,8 +17,9 @@ describe('LockUtils Test', () => {
lockScript: {
codeHash: '0x9e3b3557f11b2b3532ce352bfe8017e9fd11d154c4c7f9b7aaaa1e621b539a08',
args: ['0x36c329ed630d6ce750712a477543672adab57f4c'],
hashType: ScriptHashType.Data,
},
lockHash: '0x3dbdeb3538b7abe1b1f85a86b150805728c29b26faceb5051fb6c7f92c346ed8',
lockHash: '0xba5fd1f8e0981fa0c5a18715619695d2b102b9c5be8381ecd0e1a0bec92a5e57',
address: 'ckt1qyqrdsefa43s6m882pcj53m4gdnj4k440axqswmu83',
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
}
Expand Down

0 comments on commit bb36ba2

Please sign in to comment.