This commit is contained in:
aozhiwei 2023-07-16 18:12:40 +08:00
parent 12705e719f
commit 7e0fb107d2
2 changed files with 4 additions and 4 deletions

View File

@ -9,12 +9,12 @@ class Transfer extends BaseEventProcess {
async start() { async start() {
const returnValues = this.getReturnValues(); const returnValues = this.getReturnValues();
if (bcutils.isSysAddress(returnValues['from'])) { //if (bcutils.isSysAddress(returnValues['from'])) {
await this.mint(returnValues['from'], await this.mint(returnValues['from'],
returnValues['to'], returnValues['to'],
returnValues['tokenId'] returnValues['tokenId']
); );
} //}
/* /*
await this.add721NftRefresh await this.add721NftRefresh
( (

View File

@ -9,12 +9,12 @@ class Transfer extends BaseEventProcess {
async start() { async start() {
const returnValues = this.getReturnValues(); const returnValues = this.getReturnValues();
if (bcutils.isSysAddress(returnValues['from'])) { //if (bcutils.isSysAddress(returnValues['from'])) {
await this.mint(returnValues['from'], await this.mint(returnValues['from'],
returnValues['to'], returnValues['to'],
returnValues['tokenId'] returnValues['tokenId']
); );
} //}
/* /*
await this.add721NftRefresh await this.add721NftRefresh
( (