-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When segwit address is used to sign, we need to return the address si…
…gned with. (#142)
- Loading branch information
1 parent
b3169a7
commit 0c246e4
Showing
5 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/Features/Blockcore.Features.BlockStore/Models/SignMessageResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Blockcore.Features.BlockStore.Models | ||
{ | ||
/// <summary> | ||
/// Class containing details of a signature message. | ||
/// </summary> | ||
public class SignMessageResult | ||
{ | ||
[JsonProperty(PropertyName = "signedAddress")] | ||
public string SignedAddress { get; set; } | ||
|
||
[JsonProperty(PropertyName = "signature")] | ||
public string Signature { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters