Check records with names not null
All checks were successful
Lint / lint (20.x) (pull_request) Successful in 4m28s
All checks were successful
Lint / lint (20.x) (pull_request) Successful in 4m28s
This commit is contained in:
parent
781b667319
commit
c6162cd036
@ -324,9 +324,7 @@ export class Registry {
|
||||
paymentAddress: auctionWinner,
|
||||
});
|
||||
|
||||
const newRecords = records.filter(record => {
|
||||
record.names !== null
|
||||
})
|
||||
const newRecords = records.filter(record => record.names !== null);
|
||||
|
||||
for (const record of newRecords) {
|
||||
if (record.id) {
|
||||
|
@ -221,7 +221,7 @@ const Configure = () => {
|
||||
const isTxHashValid = await verifyTx(
|
||||
senderAddress,
|
||||
txHash,
|
||||
amount.toString(),
|
||||
amountToBePaid.toString(),
|
||||
);
|
||||
|
||||
if (isTxHashValid === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user