Check records with names not null
All checks were successful
Lint / lint (20.x) (pull_request) Successful in 4m28s

This commit is contained in:
IshaVenikar 2024-10-29 14:11:58 +05:30 committed by Shreerang Kale
parent 781b667319
commit c6162cd036
2 changed files with 2 additions and 4 deletions

View File

@ -324,9 +324,7 @@ export class Registry {
paymentAddress: auctionWinner, paymentAddress: auctionWinner,
}); });
const newRecords = records.filter(record => { const newRecords = records.filter(record => record.names !== null);
record.names !== null
})
for (const record of newRecords) { for (const record of newRecords) {
if (record.id) { if (record.id) {

View File

@ -221,7 +221,7 @@ const Configure = () => {
const isTxHashValid = await verifyTx( const isTxHashValid = await verifyTx(
senderAddress, senderAddress,
txHash, txHash,
amount.toString(), amountToBePaid.toString(),
); );
if (isTxHashValid === false) { if (isTxHashValid === false) {