This commit is contained in:
aozhiwei 2024-07-17 14:46:50 +08:00
parent 969f7513aa
commit cfdb93438d

View File

@ -80,14 +80,14 @@ async function mintHero(session) {
nftList.push([ nftList.push([
ele, ele,
toAddress, toAddress,
false true
]); ]);
}); });
const nftListArr = []; const nftListArr = [];
nftList.forEach((item) => { nftList.forEach((item) => {
nftListArr.push(item[0].toString()); nftListArr.push(item[0].toString());
nftListArr.push(item[1].toString()); nftListArr.push(item[1].toString());
nftListArr.push('0x00'); nftListArr.push('0x01');
}); });
const signature = await bc.soliditySha3Sign( const signature = await bc.soliditySha3Sign(
accountAddress, accountAddress,