Skip to content

Commit 14f9a9d

Browse files
committed
Applied suggestions
1 parent fe0d8a1 commit 14f9a9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Libplanet.Types/Assets/Currency.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace Libplanet.Types.Assets
4949
[Serializable]
5050
public sealed class Currency : IEquatable<Currency>, ISerializable
5151
{
52-
private static Codec _codec = new Codec();
52+
private static readonly Codec _codec = new Codec();
5353

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

@@ -500,7 +500,6 @@ private static (BigInteger Major, BigInteger Minor)? ExtractMaximumSupply(
500500
throw new ArgumentException(
501501
$"The value associated with key \"minters\" should be either " +
502502
$"{nameof(List)} or {nameof(Null)}.");
503-
504503
}
505504
}
506505

0 commit comments

Comments
 (0)