white spaces removed
This commit is contained in:
parent
260400b24d
commit
97d838f254
4
nip06.ts
4
nip06.ts
|
@ -50,9 +50,9 @@ export function accountFromExtendedKey(base58key: string, accountIndex = 0): {
|
|||
if (version === 'xprv') {
|
||||
let privateKey = bytesToHex(child.privateKey!)
|
||||
if (!privateKey) throw new Error('could not derive private key')
|
||||
return { privateKey, publicKey }
|
||||
return { privateKey, publicKey }
|
||||
}
|
||||
return { publicKey }
|
||||
return { publicKey }
|
||||
}
|
||||
|
||||
export function generateSeedWords(): string {
|
||||
|
|
Loading…
Reference in New Issue