Skip to content

Commit

Permalink
Quick fix for two warnings before merging commits for fixed CI to mas…
Browse files Browse the repository at this point in the history
…ter.
  • Loading branch information
Xenomega committed Dec 7, 2018
1 parent c2673a4 commit 1116a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Meadow.Core/Utils/SolidityUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static byte[] PackAndHash(params (AbiTypeInfo SolidityType, object Value)
/// Performs an ECDSA sign on the given 32-byte message hash.
/// Returns the signature in r,s,v format. Use <see cref="SignatureToRpcFormat(byte[], byte[], byte)"/> to convert into the serialized byte array format.
/// </summary>
/// <param name="messageHash">The 32 byte message hash. Usually the output from <see cref="HashPersonalMessage(string)"/> or <see cref="KeccakHash.ComputeHash(Span{byte})"/></param>
/// <param name="messageHash">The 32 byte message hash. Usually the output from <see cref="HashPersonalMessage(string)"/> or <see cref="KeccakHash.ComputeHash(Span{byte}, int)"/></param>
/// <param name="signerPrivateKeyHex">Hex encoded private key to sign with.</param>
public static (byte[] R, byte[] S, byte V) ECSign(byte[] messageHash, string signerPrivateKeyHex)
{
Expand All @@ -70,7 +70,7 @@ public static (byte[] R, byte[] S, byte V) ECSign(byte[] messageHash, string sig
/// Performs an ECDSA sign on the given 32-byte message hash.
/// Returns the signature in r,s,v format. Use <see cref="SignatureToRpcFormat(byte[], byte[], byte)"/> to convert into the serialized byte array format.
/// </summary>
/// <param name="messageHash">The 32 byte message hash. Usually the output from <see cref="HashPersonalMessage(string)"/> or <see cref="KeccakHash.ComputeHash(Span{byte})"/></param>
/// <param name="messageHash">The 32 byte message hash. Usually the output from <see cref="HashPersonalMessage(string)"/> or <see cref="KeccakHash.ComputeHash(Span{byte}, int)"/></param>
/// <param name="signerPrivateKey">The private key to sign with.</param>
public static (byte[] R, byte[] S, byte V) ECSign(byte[] messageHash, byte[] signerPrivateKey)
{
Expand Down

0 comments on commit 1116a3f

Please sign in to comment.