Skip to content

Commit 586d3e4

Browse files
committed
Fix function throws
1 parent 9133df5 commit 586d3e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/org/web3j/tx/Contract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ protected static <T extends Contract> T deploy(
404404
Web3j web3j, TransactionManager transactionManager,
405405
BigInteger gasPrice, BigInteger gasLimit,
406406
String binary, String encodedConstructor, BigInteger value)
407-
throws IOException, TransactionException {
407+
throws RuntimeException, TransactionException {
408408

409409
return deploy(type, web3j, transactionManager,
410410
new StaticGasProvider(gasPrice, gasLimit),

0 commit comments

Comments
 (0)