Skip to content

Commit

Permalink
fix testnet urls to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
ketola committed Nov 23, 2022
1 parent 87add89 commit 2dbfe6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jlibra-core/src/main/java/dev/jlibra/faucet/Faucet.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static Builder builder() {

public static class Builder {

private static final String DEFAULT_URL = "http://testnet.diem.com/mint";
private static final String DEFAULT_URL = "https://testnet.diem.com/mint";

private HttpClient httpClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void main(String[] args) {
faucet.mint(authenticationKey, 100L * 1_000_000L, CURRENCY);

DiemClient client = DiemClient.builder()
.withUrl("http://testnet.diem.com/v1")
.withUrl("https://testnet.diem.com/v1")
.build();

Wait.until(accountHasPositiveBalance(AccountAddress.fromAuthenticationKey(authenticationKey), client));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class BatchRequestIntegrationTest {
public void setUp() {
Security.addProvider(new BouncyCastleProvider());
client = DiemClient.builder()
.withUrl("http://testnet.diem.com/v1")
.withUrl("https://testnet.diem.com/v1")
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class MultisigTransactionTest {
public void setUp() {
Security.addProvider(new BouncyCastleProvider());
client = DiemClient.builder()
.withUrl("http://testnet.diem.com/v1")
.withUrl("https://testnet.diem.com/v1")
.build();
}

Expand Down

0 comments on commit 2dbfe6f

Please sign in to comment.