Fix testcases, all looks OK

This commit is contained in:
Christopher Goes
2018-04-30 19:34:19 +02:00
parent 065c3943b1
commit e25a64fdf1
2 changed files with 7 additions and 4 deletions

View File

@ -81,7 +81,7 @@ func (sig SignatureSecp256k1) Equals(other Signature) bool {
}
func SignatureSecp256k1FromBytes(data []byte) Signature {
var sig SignatureSecp256k1
sig := make(SignatureSecp256k1, len(data))
copy(sig[:], data)
return sig
}