Skip to content

Commit 2c0979c

Browse files
committed
add a Record type to amino hdwallet code
1 parent 571b680 commit 2c0979c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amino/src/secp256k1hdwallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class Secp256k1HdWallet implements OfflineAminoSigner {
198198
): Promise<Secp256k1HdWallet> {
199199
const root = JSON.parse(serialization);
200200
if (!isNonNullObject(root)) throw new Error("Root document is not an object.");
201-
const untypedRoot: any = root;
201+
const untypedRoot: Record<string, any> = root;
202202
switch (untypedRoot.type) {
203203
case serializationTypeV1: {
204204
const decryptedBytes = await decrypt(

0 commit comments

Comments
 (0)