Skip to content

Commit

Permalink
Change signBytes prefix to MX (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjiang102628 authored Aug 12, 2019
1 parent c0ef626 commit ac87cbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crypto/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ var txidPrefix = []byte("TX")
// bidPrefix is prepended to a bid when signing it
var bidPrefix = []byte("aB")

// bytesPrefix is prepended to bytes when signing
var bytesPrefix = []byte("NF")
// bytesPrefix is prepended to a message when signing
var bytesPrefix = []byte("MX")


// RandomBytes fills the passed slice with randomness, and panics if it is
// unable to do so
Expand Down

0 comments on commit ac87cbb

Please sign in to comment.