Skip to content

Commit cdc56b9

Browse files
authored
Merge pull request #8 from bitsoex/fixSendManyLogs
Add password after log, sensitive info should not be logged
2 parents 344b890 + 2c22c72 commit cdc56b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bitgo-java-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin:'java'
22
apply plugin:'idea'
33

44
group = 'com.bitso'
5-
version='0.0.12'
5+
version='0.0.13'
66

77
repositories {
88
mavenCentral()

bitgo-java-api/src/main/java/com/bitso/bitgo/v2/BitGoClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ public Optional<SendCoinsResponse> sendMany(@NonNull String coin, @NonNull Strin
135135
}
136136
final Map<String, Object> data = new HashMap<>();
137137
data.put("recipients", addr);
138-
data.put("walletPassphrase", walletPass);
139138
data.put("sequenceId", sequenceId);
140139

141140
// Check for optional parameters or default them to null
@@ -189,6 +188,7 @@ public Optional<SendCoinsResponse> sendMany(@NonNull String coin, @NonNull Strin
189188
}
190189

191190
log.info("sendMany {}", data);
191+
data.put("walletPassphrase", walletPass);
192192
HttpURLConnection conn = httpPost(url, data);
193193
if (conn == null) {
194194
return Optional.empty();

0 commit comments

Comments
 (0)