Skip to content

Commit 18535ee

Browse files
committed
minor fixes
1 parent f4d2179 commit 18535ee

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>bitcoin-rpc-client</artifactId>
77
<packaging>jar</packaging>
88

9-
<version>1.2.3</version>
9+
<version>1.2.4</version>
1010

1111
<name>Java Bitcoind RPC Client</name>
1212
<description>A lightweight Java bitcoin JSON-RPC client binding</description>

src/main/java/wf/bitcoin/javabitcoindrpcclient/BitcoinJSONRPCClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@ public List<String> generateToAddress(int numBlocks, String address, long maxTri
966966
}
967967

968968
@Override
969-
public BigDecimal estimateFee(int nBlocks) throws GenericRpcException {
970-
return (BigDecimal) query("estimatefee", nBlocks);
969+
public BigDecimal estimateFee() throws GenericRpcException {
970+
return (BigDecimal) query("estimatefee");
971971
}
972972

973973
@Override

src/main/java/wf/bitcoin/javabitcoindrpcclient/BitcoindRpcClient.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,13 +1341,11 @@ public interface BitcoindRpcClient {
13411341
/**
13421342
* The estimatefee RPC estimates the transaction fee per kilobyte that needs to be paid for a transaction to be included within a certain number of blocks.
13431343
*
1344-
* @param nBlocks The maximum number of blocks a transaction should have to wait before it is predicted to be included in a block.
13451344
* @return The estimated fee the transaction should pay in order to be included within the specified number of blocks.
13461345
*
13471346
* @see <a href="https://bitcoin.org/en/developer-reference#estimatefee">estimatefee</a>
13481347
*/
1349-
@Deprecated
1350-
BigDecimal estimateFee(int nBlocks) throws GenericRpcException;
1348+
BigDecimal estimateFee() throws GenericRpcException;
13511349

13521350
/***************************************************************************************************************************/
13531351

0 commit comments

Comments
 (0)