Skip to content

Commit 9b54631

Browse files
committed
Fix spellcheck
1 parent 0089fc2 commit 9b54631

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

packages/cashscript/src/network/BitcoinRpcNetworkProvider.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,22 @@ interface ListUnspentItem {
6060
interface RpcClientRetry {
6161
constructor(url: string, opts?: object): void;
6262
listUnspent(
63-
minconf?: number,
64-
maxconf?: number,
63+
minConf?: number,
64+
maxConf?: number,
6565
addresses?: string[],
66-
include_unsafe?: boolean,
67-
query_options?: object,
66+
includeUnsafe?: boolean,
67+
queryOptions?: object,
6868
): Promise<ListUnspentItem[]>;
6969
getBlockCount(): Promise<number>;
70-
getRawTransaction(txid: string, verbose?: boolean, blockhash?: string): Promise<string>;
71-
sendRawTransaction(hexstring: string, allowhighfees?: boolean): Promise<string>;
70+
getRawTransaction(txid: string, verbose?: boolean, blockHash?: string): Promise<string>;
71+
sendRawTransaction(hexString: string, allowHighFees?: boolean): Promise<string>;
7272

7373
// below are not required for NetworkProvider interface, but very useful
74-
generate(nblocks: number, maxtries?: number): Promise<string[]>;
75-
generateToAddress(nblocks: number, address: string, maxtries?: number): Promise<string[]>;
74+
generate(nBlocks: number, maxTries?: number): Promise<string[]>;
75+
generateToAddress(nBlocks: number, address: string, maxTries?: number): Promise<string[]>;
7676
getNewAddress(label?: string): Promise<string>;
7777
dumpPrivKey(address: string): Promise<string>;
78-
getBalance(dummy?: string, minconf?: number, include_watchonly?: boolean): Promise<number>;
79-
getBlock(blockhash: string, verbosity?: number): Promise<string>;
78+
getBalance(dummy?: string, minConf?: number, includeWatchOnly?: boolean): Promise<number>;
79+
getBlock(blockHash: string, verbosity?: number): Promise<string>;
8080
importAddress(address: string, label?: string, rescan?: boolean, p2sh?: boolean): Promise<void>;
8181
}

0 commit comments

Comments
 (0)