aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-24 22:14:07 +0800
committerFabio Berger <me@fabioberger.com>2018-09-24 22:14:07 +0800
commit311b92591955e9b6eaaaffe6b92b9f33a05d38b4 (patch)
tree060cf0378ae3e4d6410098275e9a4b809d08c485 /packages
parent5d88a56452d9f953e36a91991573ff0f3efa0da4 (diff)
downloaddexon-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.ts1
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,