You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import type { ErrorType } from '../../errors/utils.js'
|
|
import type { Hex } from '../../types/misc.js'
|
|
|
|
export type EncodeLabelhashErrorType = ErrorType
|
|
|
|
export function encodeLabelhash(hash: Hex): `[${string}]` {
|
|
return `[${hash.slice(2)}]`
|
|
}
|