Skip to content

Commit

Permalink
Update IPFS.java
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-tara authored Jul 21, 2021
1 parent 7b34ab0 commit 32a2c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/ipfs/api/IPFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public IPFS(String multiaddr) {
}

public IPFS(MultiAddress addr) {
this(addr.getHost(), addr.getTCPPort(), "/api/v0/", detectSSL(addr));
this(addr.getHost(), addr.getPort(), "/api/v0/", detectSSL(addr));
}

public IPFS(String host, int port, String version, boolean ssl) {
Expand Down

0 comments on commit 32a2c86

Please sign in to comment.