Rename approved to approvedAddress
This commit is contained in:
		@@ -360,8 +360,8 @@ export class ERC721TokenWrapper extends ContractWrapper {
 | 
				
			|||||||
            normalizedSenderAddress,
 | 
					            normalizedSenderAddress,
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        if (!isApprovedForAll) {
 | 
					        if (!isApprovedForAll) {
 | 
				
			||||||
            const approved = await this.getApprovedIfExistsAsync(normalizedTokenAddress, tokenId);
 | 
					            const approvedAddress = await this.getApprovedIfExistsAsync(normalizedTokenAddress, tokenId);
 | 
				
			||||||
            if (approved !== senderAddress) {
 | 
					            if (approvedAddress !== senderAddress) {
 | 
				
			||||||
                throw new Error(ContractWrappersError.ERC721NoApproval);
 | 
					                throw new Error(ContractWrappersError.ERC721NoApproval);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user