Skip to content

Commit

Permalink
fix(GenericApi.Resolve): default recursive to true, fixws #143
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Aug 22, 2019
1 parent ae59e5f commit 327052a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreApi/GenericApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public GenericApi(IpfsEngine ipfs)
return await ipfs.Dht.FindPeerAsync(peer, cancel).ConfigureAwait(false);
}

public async Task<string> ResolveAsync(string name, bool recursive = false, CancellationToken cancel = default(CancellationToken))
public async Task<string> ResolveAsync(string name, bool recursive = true, CancellationToken cancel = default(CancellationToken))
{
var path = name;
if (path.StartsWith("/ipns/"))
Expand Down

0 comments on commit 327052a

Please sign in to comment.