diff --git a/src/types/index.ts b/src/types/index.ts index ce4e013a..0fe69ac4 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -14,7 +14,13 @@ export interface Dictionary { } export const ADDRESS_HEX_LENGTH = 64 -export const PSS_TARGET_HEX_LENGTH_MAX = 4 + +/** + * Maximum accepted length of target of hex string. + * + * @see https://github.com/ethersphere/bee/blob/master/pkg/api/pss.go#L29 + */ +export const PSS_TARGET_HEX_LENGTH_MAX = 6 export const PUBKEY_HEX_LENGTH = 66 export const BATCH_ID_HEX_LENGTH = 64 export const REFERENCE_HEX_LENGTH = 64