Skip to content

Commit ce7e8b9

Browse files
committed
refactor: consolidate crypto imports in addresses.ts
1 parent a489a7b commit ce7e8b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/amino/src/addresses.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// See https://github.com/tendermint/tendermint/blob/f2ada0a604b4c0763bda2f64fac53d506d3beca7/docs/spec/blockchain/encoding.md#public-key-cryptography
22

3-
import { ripemd160, sha256 } from "@cosmjs/crypto";
3+
import { keccak256, ripemd160, Secp256k1, sha256 } from "@cosmjs/crypto";
44
import { fromBase64, toBech32 } from "@cosmjs/encoding";
5-
import { keccak256 } from "@cosmjs/crypto";
6-
import { Secp256k1 } from "@cosmjs/crypto";
75

86
import { encodeAminoPubkey } from "./encoding";
97
import { isEd25519Pubkey, isEthSecp256k1Pubkey, isMultisigThresholdPubkey, isSecp256k1Pubkey, Pubkey } from "./pubkeys";

0 commit comments

Comments
 (0)