Skip to content

Commit 1bcc197

Browse files
committed
1. Updated README.
2. Added additional Javadoc comment to Contract.
1 parent 6440149 commit 1bcc197

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

README.rst

+2-8
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Gradle
7979
compile ('org.web3j:core:1.0.1')
8080
8181
82-
8382
Start a client
8483
--------------
8584

@@ -230,13 +229,8 @@ for an example.
230229
Tested Clients
231230
--------------
232231

233-
Geth
234-
235-
- 1.4.18-stable-ef9265d0
236-
237-
Parity
238-
239-
- Parity/v1.3.8-beta/x86_64-linux-gnu/rustc1.12.0
232+
- Geth
233+
- Parity
240234

241235
You can run the integration test class
242236
`CoreIT <https://github.com/web3j/web3j/blob/master/src/integration-test/java/org/web3j/protocol/core/CoreIT.java>`_

src/main/java/org/web3j/abi/Contract.java

+6-4
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,14 @@ protected <T extends Type> List<T> executeCallMultipleValueReturn(
116116
*
117117
* @param function to transact with
118118
* @return {@link Optional} containing our transaction receipt
119-
* @throws InterruptedException
120-
* @throws ExecutionException
121-
* @throws TransactionTimeoutException
119+
* @throws ExecutionException if the computation threw an
120+
* exception
121+
* @throws InterruptedException if the current thread was interrupted
122+
* while waiting
123+
* @throws TransactionTimeoutException if the transaction was not mined while waiting
122124
*/
123125
protected TransactionReceipt executeTransaction(
124-
Function function) throws InterruptedException, ExecutionException,
126+
Function function) throws ExecutionException, InterruptedException,
125127
TransactionTimeoutException {
126128
BigInteger nonce = getNonce(credentials.getAddress());
127129
String encodedFunction = FunctionEncoder.encode(function);

0 commit comments

Comments
 (0)