Skip to content

Commit

Permalink
fix calls to embeddedipfs.build
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Feb 26, 2024
1 parent a3c0e64 commit 189cd7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/peergos/IpnsPublisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public static EmbeddedIpfs startIpfs() {
IdentitySection id = new IdentitySection(privKey.bytes(), peerId);
EmbeddedIpfs ipfs = EmbeddedIpfs.build(new RamRecordStore(), new RamBlockstore(), false,
List.of(new MultiAddress("/ip6/::/tcp/0")), Config.defaultBootstrapNodes, id,
(c, s, au) -> CompletableFuture.completedFuture(true), Optional.empty(), Optional.empty());
(c, s, au) -> CompletableFuture.completedFuture(true), Optional.empty());
ipfs.start();
return ipfs;
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/peergos/Nabu.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ public Nabu(Args args) throws Exception {
config.bootstrap.getBootstrapAddresses(),
config.identity,
authoriser,
config.addresses.proxyTargetAddress.map(Nabu::proxyHandler),
Optional.empty()
config.addresses.proxyTargetAddress.map(Nabu::proxyHandler)
);
ipfs.start();
String apiAddressArg = "Addresses.API";
Expand Down

0 comments on commit 189cd7a

Please sign in to comment.