Check names in deployer lrn
This commit is contained in:
parent
6e1464d4da
commit
781b667319
@ -324,7 +324,11 @@ export class Registry {
|
||||
paymentAddress: auctionWinner,
|
||||
});
|
||||
|
||||
for (const record of records) {
|
||||
const newRecords = records.filter(record => {
|
||||
record.names !== null
|
||||
})
|
||||
|
||||
for (const record of newRecords) {
|
||||
if (record.id) {
|
||||
deployerRecords.push(record);
|
||||
break;
|
||||
|
@ -911,9 +911,11 @@ export class Service {
|
||||
}
|
||||
|
||||
if (deployer.minimumPayment && project.txHash) {
|
||||
const amountToBePaid = deployer?.minimumPayment.replace(/\D/g, '').toString();
|
||||
|
||||
const txResponse = await this.laconicRegistry.sendTokensToAccount(
|
||||
deployer?.paymentAddress!,
|
||||
deployer?.minimumPayment
|
||||
amountToBePaid
|
||||
);
|
||||
|
||||
const txHash = txResponse.transactionHash;
|
||||
|
Loading…
Reference in New Issue
Block a user