Skip to content

Commit

Permalink
revert obsolete change
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Sep 26, 2024
1 parent fd57fa9 commit 6be662f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/rpc/modules/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ export class portal {
`${res !== undefined ? toHexString(res) : 'content not found'}`,
)
if (res === undefined) {
return '0x'
throw new Error('No content found')
}
return toHexString(res)
}
Expand Down Expand Up @@ -943,7 +943,7 @@ export class portal {
`retrieved content: ${content !== undefined ? toHexString(content) : 'content not found'}`,
)
if (content !== undefined) return toHexString(content)
else return '0x'
throw new Error('no content found')
}

async beaconAddBootNode(params: [string]): Promise<boolean> {
Expand Down

0 comments on commit 6be662f

Please sign in to comment.