From 14f9a9d35e3cd85fdbf724d18a921d4d6bdb11cf Mon Sep 17 00:00:00 2001 From: Say Cheong Date: Mon, 12 Aug 2024 14:39:19 +0900 Subject: [PATCH] Applied suggestions --- src/Libplanet.Types/Assets/Currency.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Libplanet.Types/Assets/Currency.cs b/src/Libplanet.Types/Assets/Currency.cs index 4f2e90d9916..8623cfc26c2 100644 --- a/src/Libplanet.Types/Assets/Currency.cs +++ b/src/Libplanet.Types/Assets/Currency.cs @@ -49,7 +49,7 @@ namespace Libplanet.Types.Assets [Serializable] public sealed class Currency : IEquatable, ISerializable { - private static Codec _codec = new Codec(); + private static readonly Codec _codec = new Codec(); private readonly (BigInteger Major, BigInteger Minor)? _maximumSupply; @@ -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)}."); - } }