Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Polve committed Feb 25, 2023
1 parent f4d2179 commit 18535ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>bitcoin-rpc-client</artifactId>
<packaging>jar</packaging>

<version>1.2.3</version>
<version>1.2.4</version>

<name>Java Bitcoind RPC Client</name>
<description>A lightweight Java bitcoin JSON-RPC client binding</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ public List<String> generateToAddress(int numBlocks, String address, long maxTri
}

@Override
public BigDecimal estimateFee(int nBlocks) throws GenericRpcException {
return (BigDecimal) query("estimatefee", nBlocks);
public BigDecimal estimateFee() throws GenericRpcException {
return (BigDecimal) query("estimatefee");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1341,13 +1341,11 @@ public interface BitcoindRpcClient {
/**
* 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.
*
* @param nBlocks The maximum number of blocks a transaction should have to wait before it is predicted to be included in a block.
* @return The estimated fee the transaction should pay in order to be included within the specified number of blocks.
*
* @see <a href="https://bitcoin.org/en/developer-reference#estimatefee">estimatefee</a>
*/
@Deprecated
BigDecimal estimateFee(int nBlocks) throws GenericRpcException;
BigDecimal estimateFee() throws GenericRpcException;

/***************************************************************************************************************************/

Expand Down

0 comments on commit 18535ee

Please sign in to comment.