From 019c1fc7089b3da2d7bd41c933b6c6bc35c8dade Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Mon, 26 Aug 2019 16:00:51 -0400 Subject: [PATCH] Fixed typo in error message (#592). --- packages/hdnode/src.ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hdnode/src.ts/index.ts b/packages/hdnode/src.ts/index.ts index a4c4cce5ae..d9d8189bab 100644 --- a/packages/hdnode/src.ts/index.ts +++ b/packages/hdnode/src.ts/index.ts @@ -197,7 +197,7 @@ export class HDNode implements ExternallyOwnedAccount { if (index >= HardenedBit) { throw new Error("invalid path index - " + component); } result = result._derive(index); } else { - throw new Error("invlaid path component - " + component); + throw new Error("invalid path component - " + component); } }