Skip to content

Commit

Permalink
Tested against different ipfs versions and lowered minimum version re…
Browse files Browse the repository at this point in the history
…quired.
  • Loading branch information
ianopolous committed Sep 2, 2016
1 parent ee2bd4b commit 65d0cd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/ipfs/api/IPFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public class IPFS {

public static final String MIN_VERSION = "0.4.4";
public static final String MIN_VERSION = "0.4.3";
public enum PinType {all, direct, indirect, recursive}
public List<String> ObjectTemplates = Arrays.asList("unixfs-dir");
public List<String> ObjectPatchTypes = Arrays.asList("add-link", "rm-link", "set-data", "append-data");
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/ipfs/api/APITests.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public void resolveTest() {
@org.junit.Test
public void swarmTest() {
try {
String multiaddr = "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ";
String multiaddr = "/ip4/127.0.0.1/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ";
Map connect = ipfs.swarm.connect(multiaddr);
Map disconnect = ipfs.swarm.disconnect(multiaddr);
Map<String, Object> addrs = ipfs.swarm.addrs();
Expand Down

0 comments on commit 65d0cd8

Please sign in to comment.