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 | |
parent | 5d88a56452d9f953e36a91991573ff0f3efa0da4 (diff) | |
download | dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.gz dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.bz2 dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.lz dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.xz dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.tar.zst dexon-sol-tools-311b92591955e9b6eaaaffe6b92b9f33a05d38b4.zip |
Add to doc comment why a block might not be returned to the caller
Diffstat (limited to 'packages')
-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, |