Skip to content

Commit

Permalink
Merge pull request #3918 from timesince/main
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
greymistcube authored Aug 12, 2024
2 parents 83cc706 + 24a349c commit 711895e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Libplanet.Net/Protocols/IProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface IProtocol
/// <param name="dialTimeout">The timeout used when waiting a reply for either
/// <see cref="PingMsg"/> or <see cref="FindNeighborsMsg"/>.
/// If <see langword="null"/> is given, the task never halts by itself
/// even no any response was given from the the target seed.</param>
/// even no any response was given from the target seed.</param>
/// <param name="depth">Recursive operation depth to search peers from network.</param>
/// <param name="cancellationToken">
/// A cancellation token used to propagate notification that this
Expand Down
2 changes: 1 addition & 1 deletion src/Libplanet.Net/Protocols/KademliaProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ await peers.ParallelForEachAsync(
/// </summary>
/// <param name="timeout">A timeout of waiting for the reply of messages.
/// If <see langword="null"/> is given, the task never halts by itself
/// even no any response was given from the the target peer.</param>
/// even no any response was given from the target peer.</param>
/// <param name="cancellationToken">
/// A cancellation token used to propagate notification that this
/// operation should be canceled.</param>
Expand Down
2 changes: 1 addition & 1 deletion src/Libplanet.Types/Assets/FungibleAssetValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public FungibleAssetValue(Currency currency, BigInteger majorUnit, BigInteger mi
/// i.e., digits <em>before</em> the decimal separator. Must not be negative.</param>
/// <param name="minorUnit">The minor unit of the fungible asset value,
/// i.e., digits <em>after</em> the decimal separator. Must not be negative.</param>
/// <exception cref="ArgumentException">Thrown when the the <paramref name="sign"/> is not
/// <exception cref="ArgumentException">Thrown when the <paramref name="sign"/> is not
/// one of <c>1</c>, <c>0</c>, and <c>-1</c>, or <paramref name="majorUnit"/> or
/// <paramref name="minorUnit"/> is negative.
/// </exception>
Expand Down
4 changes: 2 additions & 2 deletions test/Libplanet.Action.Tests/Common/DelayAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public IValue PlainValue
get
{
var plainValue = Bencodex.Types.Dictionary.Empty.Add(
"milisecond", new Bencodex.Types.Integer(MilliSecond));
"millisecond", new Bencodex.Types.Integer(MilliSecond));
return plainValue;
}
}
Expand Down Expand Up @@ -56,7 +56,7 @@ public IWorld Execute(IActionContext context)
public void LoadPlainValue(IValue plainValue)
{
var asDict = (Dictionary)plainValue;
MilliSecond = (int)((Bencodex.Types.Integer)asDict["milisecond"]);
MilliSecond = (int)((Bencodex.Types.Integer)asDict["millisecond"]);
}
}
}

0 comments on commit 711895e

Please sign in to comment.