Remove duplicate ECSignature type def

This commit is contained in:
Fabio Berger
2018-03-20 13:06:59 +00:00
parent 72671c1014
commit 4ca706d4e6
2 changed files with 6 additions and 7 deletions

View File

@@ -2,7 +2,6 @@ import Eth from '@ledgerhq/hw-app-eth';
import TransportU2F from '@ledgerhq/hw-transport-u2f';
import { LedgerEthereumClient } from './types';
export { Callback, ErrorCallback, NextCallback } from './types';
export { EmptyWalletSubprovider } from './subproviders/empty_wallet_subprovider';
export { FakeGasEstimateSubprovider } from './subproviders/fake_gas_estimate_subprovider';
@@ -13,6 +12,9 @@ export { GanacheSubprovider } from './subproviders/ganache';
export { Subprovider } from './subproviders/subprovider';
export { NonceTrackerSubprovider } from './subproviders/nonce_tracker';
export {
Callback,
ErrorCallback,
NextCallback,
ECSignature,
LedgerWalletSubprovider,
LedgerCommunicationClient,

View File

@@ -1,6 +1,9 @@
import { ECSignature } from '@0xproject/types';
import * as _ from 'lodash';
import * as Web3 from 'web3';
export { ECSignature } from '@0xproject/types';
export interface LedgerCommunicationClient {
close: () => Promise<void>;
}
@@ -29,12 +32,6 @@ export interface ECSignatureString {
s: string;
}
export interface ECSignature {
v: number;
r: string;
s: string;
}
export type LedgerEthereumClientFactoryAsync = () => Promise<LedgerEthereumClient>;
/*