Skip to content

Commit

Permalink
Applied suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Aug 12, 2024
1 parent fe0d8a1 commit 14f9a9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Libplanet.Types/Assets/Currency.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace Libplanet.Types.Assets
[Serializable]
public sealed class Currency : IEquatable<Currency>, ISerializable
{
private static Codec _codec = new Codec();
private static readonly Codec _codec = new Codec();

private readonly (BigInteger Major, BigInteger Minor)? _maximumSupply;

Expand Down Expand Up @@ -500,7 +500,6 @@ private static (BigInteger Major, BigInteger Minor)? ExtractMaximumSupply(
throw new ArgumentException(
$"The value associated with key \"minters\" should be either " +
$"{nameof(List)} or {nameof(Null)}.");

}
}

Expand Down

0 comments on commit 14f9a9d

Please sign in to comment.