diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 02:43:07 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 03:41:15 +0800 |
commit | dd8727d3aebf1f4b552f8bad921b92107ad22936 (patch) | |
tree | 1312b3b7ba60b98ee36ba092aaffb4ad02a8c808 /packages/web3-wrapper/src/web3_wrapper.ts | |
parent | b933946f335fe10f029d785b3a7bf64be1929557 (diff) | |
download | dexon-0x-contracts-dd8727d3aebf1f4b552f8bad921b92107ad22936.tar.gz dexon-0x-contracts-dd8727d3aebf1f4b552f8bad921b92107ad22936.tar.zst dexon-0x-contracts-dd8727d3aebf1f4b552f8bad921b92107ad22936.zip |
Apply various fixes based on PR feedback
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index 6c9fa980e..559bf3ea9 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -422,9 +422,11 @@ export class Web3Wrapper { return receipt; } /** - * Sets the current head of the local chain by block number. Note, this is a - * destructive action and may severely damage your chain. Use with extreme - * caution. + * Calls the 'debug_setHead' JSON RPC method, which sets the current head of + * the local chain by block number. Note, this is a destructive action and + * may severely damage your chain. Use with extreme caution. As of now, this + * is only supported by Geth. It sill throw if the 'debug_setHead' method is + * not supported. * @param blockNumber The block number to reset to. */ public async setHeadAsync(blockNumber: number): Promise<void> { |