Skip to content

Commit fbf15c0

Browse files
committed
Fixed testnet exteneded private keys (#553).
1 parent 10fdbe7 commit fbf15c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src.ts/utils/hdnode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export function fromExtendedKey(extendedKey: string): HDNode {
240240
return new HDNode(_constructorGuard, null, hexlify(key), parentFingerprint, chainCode, index, depth, null, null);
241241

242242
// Private Key
243-
case "0x0488ade4": case "0x04358394 ":
243+
case "0x0488ade4": case "0x04358394":
244244
if (key[0] !== 0) { break; }
245245
return new HDNode(_constructorGuard, hexlify(key.slice(1)), null, parentFingerprint, chainCode, index, depth, null, null);
246246
}

0 commit comments

Comments
 (0)