1
This commit is contained in:
parent
0c399d6489
commit
7a25623c4f
@ -62,9 +62,15 @@ async function buyPlanet(session) {
|
|||||||
]);
|
]);
|
||||||
const nonce = transId;
|
const nonce = transId;
|
||||||
const orderId = transId;
|
const orderId = transId;
|
||||||
const nftAddresses = [bc.getContractAddressByName('PLANET')];
|
const nftAddresses = [];
|
||||||
const amounts = [1];
|
const amounts = [];
|
||||||
const values = [orderId, price, nowTime, nonce];
|
const values = [orderId, price, nowTime, nonce];
|
||||||
|
{
|
||||||
|
for (let i = 0; i < ids.length; ++i) {
|
||||||
|
nftAddresses.push(bc.getContractAddressByName('PLANET'));
|
||||||
|
amounts.push(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
utils.arrayToStrings(ids);
|
utils.arrayToStrings(ids);
|
||||||
utils.arrayToStrings(amounts);
|
utils.arrayToStrings(amounts);
|
||||||
utils.arrayToStrings(values);
|
utils.arrayToStrings(values);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user