diff --git a/Assets/SequenceSDK/Core/Signature/Digest.cs b/Assets/SequenceSDK/Core/Signature/Digest.cs index 758a9da3..602409ef 100644 --- a/Assets/SequenceSDK/Core/Signature/Digest.cs +++ b/Assets/SequenceSDK/Core/Signature/Digest.cs @@ -38,7 +38,7 @@ public static Digest NewDigest(params string[] messages) return (new ImageHash() { Hash = new Hash(hashBytes), - }, null);; + }, null); } // Subdigest derives the hash to be signed by the Sequence wallet's signers to validate the digest. diff --git a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SignMessageArgs.cs b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SignMessageArgs.cs index f15f09d6..5451f63c 100644 --- a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SignMessageArgs.cs +++ b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SignMessageArgs.cs @@ -13,19 +13,19 @@ public class SignMessageArgs public string network { get; private set; } public string wallet { get; private set; } - public SignMessageArgs(string wallet, Chain network, string message, uint timeBeforeExpiry = 30) + public SignMessageArgs(string walletAddress, Chain network, string message, uint timeBeforeExpiry = 30) { int networkId = (int)network; - this.wallet = wallet; + this.wallet = walletAddress; this.network = networkId.ToString(); this.message = message; this.issued = (uint)DateTimeOffset.UtcNow.ToUnixTimeSeconds(); this.expires = this.issued + timeBeforeExpiry; } - public SignMessageArgs(string wallet, string networkId, string message, uint timeBeforeExpiry = 30) + public SignMessageArgs(string walletAddress, string networkId, string message, uint timeBeforeExpiry = 30) { - this.wallet = wallet; + this.wallet = walletAddress; this.network = networkId; this.message = message; this.issued = (uint)DateTimeOffset.UtcNow.ToUnixTimeSeconds();