Skip to content

Commit

Permalink
Added prefix "0x" for GetHexSeed in XMSS
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyber committed Sep 8, 2022
1 parent c103e77 commit 4bc3c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmss/xmss.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (x *XMSS) GetExtendedSeed() [common.ExtendedSeedSize]uint8 {

func (x *XMSS) GetHexSeed() string {
eSeed := x.GetExtendedSeed()
return hex.EncodeToString(eSeed[:])
return "0x" + hex.EncodeToString(eSeed[:])
}

func (x *XMSS) GetMnemonic() string {
Expand Down

0 comments on commit 4bc3c2b

Please sign in to comment.