white spaces removed

This commit is contained in:
Anderson Juhasc
2024-05-26 22:25:17 -03:00
committed by fiatjaf_
parent 260400b24d
commit 97d838f254

View File

@@ -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 {