diff options
author | Olaf Tomalka <olaf@tomalka.me> | 2018-01-24 06:42:40 +0800 |
---|---|---|
committer | Olaf Tomalka <olaf@tomalka.me> | 2018-01-26 06:52:24 +0800 |
commit | 97c228031a1780e40bb865ecc4906d58ee34ffa2 (patch) | |
tree | 3615a0ce80c595765421b02043262e5da5f5e615 /packages | |
parent | ad85011d62ded60a0f4c4d69f2fda0665e12c425 (diff) | |
download | dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar.gz dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar.bz2 dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar.lz dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar.xz dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.tar.zst dexon-0x-contracts-97c228031a1780e40bb865ecc4906d58ee34ffa2.zip |
Fixed getTransactionReceipt not returning null
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index ff379cb3d..cd34759ed 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -257,10 +257,10 @@ declare module 'web3' { sign(address: string, data: string): string; sign(address: string, data: string, callback: (err: Error, signature: string) => void): void; - getTransactionReceipt(txHash: string): Web3.TransactionReceipt; + getTransactionReceipt(txHash: string): Web3.TransactionReceipt | null; getTransactionReceipt( txHash: string, - callback: (err: Error, receipt: Web3.TransactionReceipt) => void, + callback: (err: Error, receipt: Web3.TransactionReceipt | null) => void, ): void; // TODO block param |