Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Jul 9, 2024
1 parent 14ae282 commit 1729172
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BeeNet.Client/BeeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ public async Task<string> RefreshAuthAsync(
},
cancellationToken).ConfigureAwait(false)).Key;

public async Task<SwarmHash> ResolveResourceHashAsync(SwarmAddress address)
public async Task<SwarmHash> ResolveSwarmAddressToHashAsync(SwarmAddress address)
{
var chunkStore = new BeeClientChunkStore(this);

Expand Down
2 changes: 1 addition & 1 deletion src/BeeNet.Core/Models/SwarmUri.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public override string ToString() =>
/// </summary>
/// <param name="prefix">Optional prefix address</param>
/// <returns>The absolute URI as an Address</returns>
public SwarmAddress ToSwarmAddress(SwarmAddress? prefix)
public SwarmAddress ToSwarmAddress(SwarmAddress? prefix = null)
{
if (prefix is null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/BeeNet.Util/IBeeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ Task<string> RefreshAuthAsync(
int expiry,
CancellationToken cancellationToken = default);

Task<SwarmHash> ResolveResourceHashAsync(SwarmAddress address);
Task<SwarmHash> ResolveSwarmAddressToHashAsync(SwarmAddress address);

/// <summary>Reupload a root hash to the network</summary>
/// <param name="hash">Root hash of content (can be of any type: collection, file, chunk)</param>
Expand Down

0 comments on commit 1729172

Please sign in to comment.