1
This commit is contained in:
parent
23d9ccbf9a
commit
dbae8fe1bb
@ -18,13 +18,13 @@ async function claim(session) {
|
||||
}
|
||||
}
|
||||
{
|
||||
if (!bcutils.isValidAddress(account)) {
|
||||
if (!bc.isValidAddress(account)) {
|
||||
session.rspErr(500, 'account error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const nftAddress = bc.getNftAddress(bcutils.CLAIM_BOX_TYPE);
|
||||
const nftAddress = bc.getNftAddress(bcconst.BC_NFT_CLAIM_BOX);
|
||||
|
||||
const transModel = session.createModel('Transaction');
|
||||
const usedTokenIdModel = session.createModel('UsedTokenId');
|
||||
|
Loading…
x
Reference in New Issue
Block a user