We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8aa76 commit cfd9191Copy full SHA for cfd9191
packages/amino/src/secp256k1hdwallet.ts
@@ -203,7 +203,7 @@ export class Secp256k1HdWallet implements OfflineAminoSigner {
203
const root = JSON.parse(serialization);
204
if (!isNonNullObject(root)) throw new Error("Root document is not an object.");
205
// This cast is safe because `root` comes from a valid JSON document and `root` is a non-null object.
206
- // I.e. it can only be a JSON object, not an aribitrary JS object.
+ // I.e. it can only be a JSON object, not an arbitrary JS object.
207
const untypedRoot: Record<string, any> = root;
208
switch (untypedRoot.type) {
209
case serializationTypeV1: {
0 commit comments