Skip to content

Commit

Permalink
fix SeedKey woth coinType 60
Browse files Browse the repository at this point in the history
  • Loading branch information
alecande11 committed Jul 29, 2023
1 parent de0b019 commit f020499
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terra-money/feather.js",
"version": "1.0.9-injective.1",
"version": "1.0.9-injective.2",
"description": "The JavaScript SDK for Terra and Feather chains",
"license": "MIT",
"author": "Terraform Labs, PTE.",
Expand Down
2 changes: 1 addition & 1 deletion src/core/Tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
import { CompactBitArray } from './CompactBitArray';
import { Msg } from './Msg';
import { Fee } from './Fee';
import * as Long from 'long';
import Long from 'long';
import { SignatureV2 } from './SignatureV2';
import { SignerData } from '../client/lcd/api/TxAPI';

Expand Down
2 changes: 1 addition & 1 deletion src/key/SeedKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class SeedKey extends RawKey {
throw new Error('Failed to derive key pair');
}

super(privateKey);
super(privateKey, coinType === 60);
this.seed = seed;
}

Expand Down

0 comments on commit f020499

Please sign in to comment.