Skip to content

Commit 1a3ecbf

Browse files
committed
Add comment to move transfer
1 parent 416c6f6 commit 1a3ecbf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>com.nitinsurana</groupId>
55
<artifactId>Litecoin-Bitcoin-RPC-Java-Connector</artifactId>
6-
<version>2.2.0</version>
6+
<version>2.2.1</version>
77
<packaging>jar</packaging>
88

99
<name>Litecoin-Bitcoin-RPC-Java-Connector</name>

src/main/java/com/nitinsurana/bitcoinlitecoin/rpcconnector/CryptoCurrencyRPC.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ public String sendFrom(String fromAccount, String toAddress, BigDecimal amount)
329329
* @return
330330
* @throws com.nitinsurana.bitcoinlitecoin.rpcconnector.exception.CryptoCurrencyRpcException
331331
*/
332-
public String move(String fromAccount, String toAccount, BigDecimal amount) throws CryptoCurrencyRpcException {
333-
JsonObject response = callAPIMethod(APICalls.MOVE, fromAccount, toAccount, amount);
332+
public String move(String fromAccount, String toAccount, BigDecimal amount, String comment) throws CryptoCurrencyRpcException {
333+
JsonObject response = callAPIMethod(APICalls.MOVE, fromAccount, toAccount, amount, 1, comment);
334334
cryptoCurrencyRpcExceptionHandler.checkException(response);
335335
return response.get("result").getAsString();
336336
}

0 commit comments

Comments
 (0)