Fix index.ts networks.ts lint

This commit is contained in:
junderw 2019-03-07 12:11:15 +09:00
parent 6a734aef4c
commit 3f34fe457a
No known key found for this signature in database
GPG key ID: B256185D3A971908
5 changed files with 26 additions and 26 deletions

10
types/networks.d.ts vendored
View file

@ -1,15 +1,15 @@
export declare type Network = {
export interface Network {
messagePrefix: string;
bech32: string;
bip32: bip32;
bip32: Bip32;
pubKeyHash: number;
scriptHash: number;
wif: number;
};
declare type bip32 = {
}
interface Bip32 {
public: number;
private: number;
};
}
export declare const bitcoin: Network;
export declare const regtest: Network;
export declare const testnet: Network;