Skip to content

Commit 123f842

Browse files
committed
update remaining only bigdecimal to biginteger
1 parent 95c759b commit 123f842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -160,7 +160,7 @@ public Optional<SendCoinsResponse> sendMany(@NonNull String coin, @NonNull Strin
160160
} else if (optionalKey.equals("feeTxConfirmTarget")) {
161161
if (optionalValue != null) {
162162
if (optionalValue instanceof Number) {
163-
data.put(optionalKey, optionalValue);
163+
data.put(optionalKey, new BigDecimal(optionalValue.toString()).toBigInteger());
164164
} else {
165165
throw new IllegalArgumentException("FeeTxConfirmTarget should be a BigDecimal value");
166166
}

0 commit comments

Comments
 (0)