Print hex

This commit is contained in:
ZenGround0 2020-11-30 22:50:41 -05:00
parent 3e143cac4b
commit 751568a4dd

View File

@ -242,13 +242,14 @@ var ledgerSignTestCmd = &cli.Command{
if err != nil {
return err
}
fmt.Printf("Message: %x\n", b.RawData())
sig, err := fl.SignSECP256K1(p, b.RawData())
if err != nil {
return err
}
fmt.Println(sig.SignatureBytes())
fmt.Printf("Signature: %x\n", sig.SignatureBytes())
return nil
},