@@ -329,7 +329,7 @@ func TestVerifyV1InclusionProof(t *testing.T) {
329
329
330
330
return p
331
331
},
332
- expectedErr : ErrInvalidCommitmentProof ,
332
+ expectedErr : ErrStxoInputProofMissing ,
333
333
}, {
334
334
name : "invalid v0 proof" ,
335
335
makeProof : func (t * testing.T ) []* Proof {
@@ -363,7 +363,7 @@ func TestVerifyV1InclusionProof(t *testing.T) {
363
363
364
364
return p
365
365
},
366
- expectedErr : ErrInvalidCommitmentProof ,
366
+ expectedErr : ErrStxoInputProofMissing ,
367
367
expectedErrContains : "missing STXO proofs" ,
368
368
}, {
369
369
name : "correct v0 and v1 proofs" ,
@@ -439,7 +439,7 @@ func TestVerifyV1InclusionProof(t *testing.T) {
439
439
440
440
return p
441
441
},
442
- expectedErr : ErrInvalidCommitmentProof ,
442
+ expectedErr : ErrStxoInputProofMissing ,
443
443
expectedErrContains : "missing inclusion proof" ,
444
444
}, {
445
445
name : "multiple valid stxo proofs" ,
@@ -602,7 +602,7 @@ func TestVerifyV1ExclusionProof(t *testing.T) {
602
602
603
603
return p
604
604
},
605
- expectedErr : ErrInvalidCommitmentProof ,
605
+ expectedErr : ErrStxoInputProofMissing ,
606
606
expectedErrContains : "missing STXO proofs" ,
607
607
}, {
608
608
name : "correct v1 exclusion proof" ,
@@ -757,7 +757,7 @@ func TestVerifyV1ExclusionProof(t *testing.T) {
757
757
758
758
return p
759
759
},
760
- expectedErr : ErrInvalidCommitmentProof ,
760
+ expectedErr : ErrStxoInputProofMissing ,
761
761
expectedErrContains : "missing STXO proofs" ,
762
762
}}
763
763
0 commit comments