@@ -150,18 +150,13 @@ export async function reticketPointBetweenWallets({
150 const suggestedGasPrice = await getSuggestedGasPrice(networkType);
150 const suggestedGasPrice = await getSuggestedGasPrice(networkType);
151 const chainId = await web3.eth.net.getId();
151 const chainId = await web3.eth.net.getId();
152 const gasPrice = toWei(suggestedGasPrice.toFixed(), 'gwei');
152 const gasPrice = toWei(suggestedGasPrice.toFixed(), 'gwei');
153− console.log(suggestedGasPrice.toFixed());
154 const gasPriceBN = toBN(gasPrice);
153 const gasPriceBN = toBN(gasPrice);
155− console.log(gasPrice);
156 let inviteNonce = await web3.eth.getTransactionCount(fromWallet.address);
154 let inviteNonce = await web3.eth.getTransactionCount(fromWallet.address);
158 const totalCost = txs.reduce(
155 const totalCost = txs.reduce(
159 (acc, tx) => acc.add(gasPriceBN.mul(toBN(tx.gas))),
156 (acc, tx) => acc.add(gasPriceBN.mul(toBN(tx.gas))),
165 let txPairs = await Promise.all(
160 let txPairs = await Promise.all(
166 txs.map(async (tx, idx) => {
161 txs.map(async (tx, idx) => {
167 const stx = await signTransaction({
162 const stx = await signTransaction({
@@ -175,9 +170,6 @@ export async function reticketPointBetweenWallets({
175 gasPrice: suggestedGasPrice.toFixed(),
170 gasPrice: suggestedGasPrice.toFixed(),
176 gasLimit: tx.gas,
171 gasLimit: tx.gas,
182 raw: hexify(stx.serialize()),
174 raw: hexify(stx.serialize()),
183 signed: stx,
175 signed: stx,
@@ -209,7 +201,6 @@ export async function reticketPointBetweenWallets({
210 progress(TRANSACTION_PROGRESS.TRANSFERRING);
202 progress(TRANSACTION_PROGRESS.TRANSFERRING);
212− console.log(txPairs);
213 await sendAndAwaitAllSerial(web3, txPairs.map(p => p.signed), usedTank);
204 await sendAndAwaitAllSerial(web3, txPairs.map(p => p.signed), usedTank);