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