diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-24 22:14:14 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-24 22:14:14 +0800 |
commit | 7516959c9f733c0ee73c2551db185a7751d9f94c (patch) | |
tree | 9a3e827452b8c980148fac7f53eb9fd84d282e33 /packages/contract-wrappers/src/contract_wrappers | |
parent | 311b92591955e9b6eaaaffe6b92b9f33a05d38b4 (diff) | |
download | dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar.gz dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar.bz2 dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar.lz dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar.xz dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.tar.zst dexon-sol-tools-7516959c9f733c0ee73c2551db185a7751d9f94c.zip |
Add comments for clarity
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts index 4a1d6258b..19a882712 100644 --- a/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/contract_wrapper.ts @@ -195,6 +195,7 @@ export abstract class ContractWrapper { this._onLogStateChanged.bind(this, isRemoved), ); } + // This method only exists in order to comply with the expected interface of Blockstream's constructor private async _getBlockOrNullAsync(): Promise<BlockWithoutTransactionData | null> { const blockIfExists = await this._web3Wrapper.getBlockIfExistsAsync.bind(this._web3Wrapper); if (_.isUndefined(blockIfExists)) { |