mirror of
https://github.com/arnaucube/go-iden3-crypto.git
synced 2026-02-07 19:46:41 +01:00
Update and add test for PackSignY & UnpackSignY
- Update PackSignY & UnpackSignY interface and description - Add test for UnpackSignY & PackPoint
This commit is contained in:
@@ -139,7 +139,7 @@ func TestCompressDecompress(t *testing.T) {
|
||||
|
||||
func TestSignatureCompScannerValuer(t *testing.T) {
|
||||
privK := NewRandPrivKey()
|
||||
var value driver.Valuer //nolint:gosimple this is done to ensure interface compability
|
||||
var value driver.Valuer //nolint:gosimple this is done to ensure interface compatibility
|
||||
value = privK.SignPoseidon(big.NewInt(674238462)).Compress()
|
||||
scan := privK.SignPoseidon(big.NewInt(1)).Compress()
|
||||
fromDB, err := value.Value()
|
||||
|
||||
Reference in New Issue
Block a user