diff --git a/packages/backend/src/registry.ts b/packages/backend/src/registry.ts index 9b5d913b..03ef08aa 100644 --- a/packages/backend/src/registry.ts +++ b/packages/backend/src/registry.ts @@ -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) { diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index e56e7d1d..f4cd0092 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -221,7 +221,7 @@ const Configure = () => { const isTxHashValid = await verifyTx( senderAddress, txHash, - amount.toString(), + amountToBePaid.toString(), ); if (isTxHashValid === false) {