We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8455919 commit 52bd292Copy full SHA for 52bd292
suites/create.js
@@ -403,11 +403,11 @@ export function runDataIntegrityProofFormatTests({
403
}
404
});
405
406
- if(optionalTests.proofChain) {
+ if(optionalTests?.proofChain) {
407
it('If "proof.previousProof" property exists, it MUST be a string ' +
408
'value or unordered list of string values.', function() {
409
for(const proof of proofs) {
410
- if(proof.previousProof) {
+ if(proof?.previousProof) {
411
isStringOrArrayOfStrings(proof.previousProof).should.equal(
412
true,
413
'"proof.previousProof" should be a string or an Array of strings.'
0 commit comments