mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Bump eslint 9 -> 10
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ export function parseNodeId(
|
||||
): { prefix: string; pubkey: string } | undefined {
|
||||
const match = /^(did:key:)?(z[a-zA-Z0-9]+)$/.exec(nid);
|
||||
if (match) {
|
||||
let hex: Uint8Array | undefined = undefined;
|
||||
let hex: Uint8Array;
|
||||
try {
|
||||
hex = bs58.decode(match[2].substring(1));
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user