1
This commit is contained in:
parent
3462b7542e
commit
fb1a72bec0
@ -68,6 +68,8 @@ class Activate721Nft extends BaseEventProcess {
|
||||
['owner_address', bcutils.toNormalAddress(owner)],
|
||||
['creator_address', bcutils.toNormalAddress(owner)],
|
||||
['confirm_block_number', this.getBlockNumber()],
|
||||
['net_id', this.getNetId()],
|
||||
['contract_address', this.getContractAddress()],
|
||||
['createtime', nowTime],
|
||||
['modifytime', nowTime],
|
||||
];
|
||||
@ -83,6 +85,7 @@ class Activate721Nft extends BaseEventProcess {
|
||||
],
|
||||
fieldList
|
||||
);
|
||||
console.log(this.getNetId(), this.getContractAddress());
|
||||
if (err) {
|
||||
this.throwError('mintNft transId:' + transId);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ class BaseEventProcess {
|
||||
|
||||
throwError(err) {
|
||||
const errMsg = this.genLogHead(err);
|
||||
throw errMsg;
|
||||
throw new Error(errMsg);
|
||||
}
|
||||
|
||||
async markOk() {
|
||||
@ -185,7 +185,7 @@ class BaseEventProcess {
|
||||
|
||||
async gameDbConn(method, ...args) {
|
||||
if (!this.gameConn) {
|
||||
const {err, conn} = await app.getDbConn(constant.BCNFTDB_NAME);
|
||||
const {err, conn} = await app.getDbConn(constant.GAMEDB_NAME);
|
||||
if (err) {
|
||||
return {
|
||||
'err': err,
|
||||
|
Loading…
x
Reference in New Issue
Block a user