1
This commit is contained in:
parent
b2d2f49a88
commit
e9d7cec3b9
@ -83,8 +83,16 @@ async function activate721Nft(session) {
|
||||
['trans_id', transId]
|
||||
]);
|
||||
const nonce = transId;
|
||||
const tokenIds = [tokenId, 1];
|
||||
utils.arrayToStrings(tokenIds);
|
||||
const nftList = [
|
||||
{
|
||||
'tokenId': tokenId,
|
||||
'isMint': true
|
||||
}
|
||||
];
|
||||
let nftListStr = '';
|
||||
utils.forEach((item) => {
|
||||
nftListStr += item['tokenId'].toString() + '1';
|
||||
});
|
||||
const signature = await bc.soliditySha3Sign(
|
||||
account,
|
||||
nftAddress,
|
||||
@ -92,9 +100,8 @@ async function activate721Nft(session) {
|
||||
netId,
|
||||
nowTime,
|
||||
nonce,
|
||||
...tokenIds
|
||||
...nftListStr
|
||||
);
|
||||
const nftList = [];
|
||||
|
||||
let data = instance.methods.unlockOrMint
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user