fmt
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ export default class PrivateWrap {
|
||||
|
||||
const pubkey = await pubkey_fromString(parts[0], Usage.ecdh)
|
||||
if (pubkey === null) return null
|
||||
const box = SecretWrap.fromString(parts.slice(1).join("."))
|
||||
const box = SecretWrap.fromString(parts.slice(1).join('.'))
|
||||
if (box === null) return null
|
||||
|
||||
return new PrivateWrap(box, pubkey)
|
||||
|
||||
Reference in New Issue
Block a user