fix(v0): restores validateSig behavior

This commit is contained in:
Steve Moyer
2025-07-08 14:13:47 -04:00
committed by Michael Muré
parent 03770e0d38
commit f6b72f1907
5 changed files with 26 additions and 34 deletions

View File

@@ -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) {