Fixed testnet exteneded private keys (#553).
This commit is contained in:
parent
10fdbe7274
commit
fbf15c0ffe
@ -240,7 +240,7 @@ export function fromExtendedKey(extendedKey: string): HDNode {
|
||||
return new HDNode(_constructorGuard, null, hexlify(key), parentFingerprint, chainCode, index, depth, null, null);
|
||||
|
||||
// Private Key
|
||||
case "0x0488ade4": case "0x04358394 ":
|
||||
case "0x0488ade4": case "0x04358394":
|
||||
if (key[0] !== 0) { break; }
|
||||
return new HDNode(_constructorGuard, hexlify(key.slice(1)), null, parentFingerprint, chainCode, index, depth, null, null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user