diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-24 22:14:07 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-24 22:14:07 +0800 |
commit | 311b92591955e9b6eaaaffe6b92b9f33a05d38b4 (patch) | |
tree | 060cf0378ae3e4d6410098275e9a4b809d08c485 /packages/web3-wrapper/src/web3_wrapper.ts | |
parent | 5d88a56452d9f953e36a91991573ff0f3efa0da4 (diff) | |
download | dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.gz dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.bz2 dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.lz dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.xz dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.zst dexon-0x-contracts-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.zip |
Add to doc comment why a block might not be returned to the caller
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index 40e0a73f0..dc634a57f 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -330,6 +330,7 @@ export class Web3Wrapper { * Fetch a specific Ethereum block without transaction data * @param blockParam The block you wish to fetch (blockHash, blockNumber or blockLiteral) * @returns The requested block without transaction data, or undefined if block was not found + * (e.g the node isn't fully synced, there was a block re-org and the requested block was uncles, etc...) */ public async getBlockIfExistsAsync( blockParam: string | BlockParam, |