Skip to content

Commit

Permalink
Review applied
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdae committed Aug 15, 2019
1 parent b22bf23 commit a45dc18
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Libplanet/Crypto/PrivateKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ private static ECPrivateKeyParameters GenerateKeyFromBytes(byte[] privateKey)
);

var key = new PrivateKey(param);
var publicKey = key.PublicKey;

// For sanity check.
#pragma warning disable SA1312
var _ = key.PublicKey;
#pragma warning restore SA1312
return param;
}

Expand Down

0 comments on commit a45dc18

Please sign in to comment.