Skip to content

Commit

Permalink
chore: Remove unused reference to Cosmos registry (#103)
Browse files Browse the repository at this point in the history
Remove unused reference to Cosmos registry
  • Loading branch information
dib542 authored Aug 3, 2022
1 parent 40286c6 commit 3857bf1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/lib/web3/useWeb3.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import * as React from 'react';
import invariant from 'invariant';

import { OfflineSigner, Registry } from '@cosmjs/proto-signing';
import { defaultRegistryTypes } from '@cosmjs/stargate';
import { OfflineSigner } from '@cosmjs/proto-signing';
import { ChainInfo, Keplr, Window as KeplrWindow } from '@keplr-wallet/types';
import { MsgDepositShares } from './generated/duality/duality.duality/module/types/duality/tx';

export type Provider = Keplr;

Expand Down Expand Up @@ -54,11 +52,6 @@ const chainInfo: ChainInfo = {
},
};

const registry = new Registry(defaultRegistryTypes);

// add additional Msgs here
registry.register('/duality.duality.MsgDepositShares', MsgDepositShares);

declare global {
interface Window extends KeplrWindow {
keplr: Provider;
Expand Down

0 comments on commit 3857bf1

Please sign in to comment.