Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 5a60a95

Browse files
committed
somewhat sensible defaults
1 parent d4441ee commit 5a60a95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public class BitGoClientImpl implements BitGoClient {
2222
private final Logger log = LoggerFactory.getLogger(getClass());
2323
/** The base URL (host, port, up to api/v1 for example */
2424
@Setter @Getter
25-
private String baseUrl;
25+
private String baseUrl = "http://localhost:3080/api/v1";
2626
/** The URL for "sendmany" endpoint (must include anything that's appended to baseUrl). */
2727
@Setter @Getter
28-
private String sendManyUrl;
28+
private String sendManyUrl = "wallet/sendmany";
2929
private String longLivedToken;
3030

3131
public BitGoClientImpl(String longLivedToken) {
@@ -48,7 +48,7 @@ public Optional<SendCoinsResponse> sendMany(Map<String, BigDecimal> recipients,
4848
BigDecimal fee, BigDecimal feeTxConfirmTarget,
4949
int minConfirms, boolean enforceMinConfirmsForChange)
5050
throws IOException {
51-
String url = baseUrl + "/" + sendManyUrl;
51+
String url = baseUrl + sendManyUrl;
5252
final String auth;
5353
if (longLivedToken == null) {
5454
log.warn("TODO: implement auth with username/password");

0 commit comments

Comments
 (0)