fix(v0): restores validateSig behavior
This commit is contained in:
committed by
Michael Muré
parent
03770e0d38
commit
f6b72f1907
@@ -133,7 +133,7 @@ func TestDecode(t *testing.T) {
|
||||
|
||||
vs, err := varsig.Decode(data)
|
||||
require.ErrorIs(t, err, varsig.ErrUnexpectedSignatureSize)
|
||||
assert.Nil(t, vs)
|
||||
assert.Zero(t, vs)
|
||||
})
|
||||
|
||||
t.Run("fails - unexpected signature present - v1", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user