Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devchenyan authored and Keith-CY committed Dec 13, 2024
1 parent 3c471be commit 203c879
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .ckb-light-version
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
<<<<<<< HEAD
v0.4.1
=======
v0.4.0
>>>>>>> 9a82bc451 (feat: update ckb client versions)
4 changes: 0 additions & 4 deletions .ckb-version
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
<<<<<<< HEAD
v0.120.0
=======
v0.119.0
>>>>>>> 9a82bc451 (feat: update ckb client versions)
3 changes: 0 additions & 3 deletions packages/neuron-ui/src/utils/scriptAndAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const scriptToAddress = (
{ isMainnet = true, deprecated = false }: { isMainnet?: boolean; deprecated?: boolean }
) => {
const config = { config: isMainnet ? MAINNET : TESTNET }
if (['data1', 'data2'].includes(script.hashType)) {
return encodeToAddress(script, config)
}
return deprecated ? generateAddress(script, config) : encodeToAddress(script, config)
}

Expand Down

1 comment on commit 203c879

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 12310369650

Please sign in to comment.