Skip to content

Commit

Permalink
revert changes that is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Sep 21, 2021
1 parent 31ea817 commit 0eb7ede
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/jellyfish-address/__tests__/p2pkh.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ describe('P2PKH', () => {
expect(p2pkh.type).toStrictEqual('P2PKH')
expect(p2pkh.valid).toBeTruthy()

console.log(p2pkh)

const scriptStack = p2pkh.getScript()
expect(scriptStack.stack.length).toStrictEqual(5)
expect(scriptStack.stack[0]).toStrictEqual(OP_CODES.OP_DUP)
Expand Down
3 changes: 2 additions & 1 deletion packages/jellyfish-address/src/p2wpkh.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { bech32 } from 'bech32'
import { getNetwork, Network, NetworkName } from '@defichain/jellyfish-network'
import { OP_CODES, OP_PUSHDATA, Script } from '@defichain/jellyfish-transaction'
import { Script, OP_CODES, OP_PUSHDATA } from '@defichain/jellyfish-transaction'

import { Bech32Address } from './bech32_address'
import { Validator } from './address'

Expand Down
2 changes: 1 addition & 1 deletion packages/jellyfish-address/src/p2wsh.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bech32 } from 'bech32'
import { getNetwork, Network, NetworkName } from '@defichain/jellyfish-network'
import { OP_CODES, OP_PUSHDATA, Script } from '@defichain/jellyfish-transaction'
import { Script, OP_CODES, OP_PUSHDATA } from '@defichain/jellyfish-transaction'

import { Bech32Address } from './bech32_address'
import { Validator } from './address'
Expand Down

0 comments on commit 0eb7ede

Please sign in to comment.