There was an error while loading. Please reload this page.
1 parent bbe3179 commit aa34515Copy full SHA for aa34515
2 files changed
packages/neuron-ui/src/components/Transaction/index.tsx
@@ -95,7 +95,7 @@ const Transaction = () => {
95
return null
96
}
97
try {
98
- const address = ckbCore.utils.bech32Address(output.lock.args[0], {
+ const address = ckbCore.utils.bech32Address(output.lock.args, {
99
prefix: addressPrefix,
100
type: ckbCore.utils.AddressType.HashIdx,
101
codeHashIndex: '0x00',
packages/neuron-ui/src/types/App/index.d.ts
@@ -14,7 +14,7 @@ declare namespace State {
14
interface DetailedOutput {
15
capacity: string
16
lock: {
17
- args: string[]
+ args: string
18
codeHash: string
19
20
lockHash: string
0 commit comments