@0x/contracts-exchange: Fix comments in test/signature_validator.ts
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Amir Bandeali
					
				
			
			
				
	
			
			
			
						parent
						
							ddbe2acbf5
						
					
				
				
					commit
					5dfb65b084
				
			@@ -198,7 +198,7 @@ describe('MixinSignatureValidator', () => {
 | 
			
		||||
            ]);
 | 
			
		||||
            const signatureHex = ethUtil.bufferToHex(signature);
 | 
			
		||||
            // Validate signature.
 | 
			
		||||
            // This will fail because `signerAddress` signed the message, but we're passing in `notSignerAddress`
 | 
			
		||||
            // This will fail because the signature is random, not signed by `signerAddress`.
 | 
			
		||||
            const isValidSignature = await validateCallAsync(signedOrder, notSignerAddress, signatureHex);
 | 
			
		||||
            expect(isValidSignature).to.be.false();
 | 
			
		||||
        });
 | 
			
		||||
@@ -230,7 +230,7 @@ describe('MixinSignatureValidator', () => {
 | 
			
		||||
            ]);
 | 
			
		||||
            const signatureHex = ethUtil.bufferToHex(signature);
 | 
			
		||||
            // Validate signature.
 | 
			
		||||
            // This will fail because `signerAddress` signed the message, but we're passing in `notSignerAddress`
 | 
			
		||||
            // This will fail because the signature is random, not signed by `signerAddress`.
 | 
			
		||||
            const isValidSignature = await validateCallAsync(signedOrder, signerAddress, signatureHex);
 | 
			
		||||
            expect(isValidSignature).to.be.false();
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user