planetarium / libplanet

Blockchain in C#/.NET for on-chain, decentralized gaming
https://docs.libplanet.io/
GNU Lesser General Public License v2.1
506 stars 142 forks source link

`Libplanet.Assets.FungibleAssetValue.Sign` can be simplified #2442

Closed OnedgeLee closed 1 year ago

OnedgeLee commented 1 year ago

https://github.com/planetarium/libplanet/blob/d998e4bcf52d98ba0f3b837cd0ea82d6bc026491/Libplanet/Assets/FungibleAssetValue.cs#L192-L209

Property Libplanet.Assets.FungibleAssetValue.Sign is equivalent to return Sign of BigInteger RawValue, so it can be simplified.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.