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 571b680 commit 2c0979cCopy full SHA for 2c0979c
packages/amino/src/secp256k1hdwallet.ts
@@ -198,7 +198,7 @@ export class Secp256k1HdWallet implements OfflineAminoSigner {
198
): Promise<Secp256k1HdWallet> {
199
const root = JSON.parse(serialization);
200
if (!isNonNullObject(root)) throw new Error("Root document is not an object.");
201
- const untypedRoot: any = root;
+ const untypedRoot: Record<string, any> = root;
202
switch (untypedRoot.type) {
203
case serializationTypeV1: {
204
const decryptedBytes = await decrypt(
0 commit comments