Skip to content

Commit

Permalink
added result check for withdraw method
Browse files Browse the repository at this point in the history
  • Loading branch information
andre77 committed Mar 18, 2017
1 parent 3ee8a53 commit d7a6500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public BTCEAccountInfo getBTCEAccountInfo(Long from, Long count, Long fromId, Lo
*/
public String withdraw(String currency, BigDecimal amount, String address) {
BTCEWithDrawInfoReturn info = btce.WithdrawCoin(apiKey, signatureCreator, exchange.getNonceFactory(), currency, amount, address);

checkResult(info);
return String.valueOf(info.getReturnValue().gettId());
}

Expand Down

0 comments on commit d7a6500

Please sign in to comment.