From 73fd27bfca635f584fbb30102df5d8a26179f2ed Mon Sep 17 00:00:00 2001 From: ara-klaytn Date: Thu, 11 Jan 2024 19:05:09 +0800 Subject: [PATCH] Added Aptos await transaction transfer --- aptos-tx-latency-measurement/sendtx_aptos.js | 1 + 1 file changed, 1 insertion(+) diff --git a/aptos-tx-latency-measurement/sendtx_aptos.js b/aptos-tx-latency-measurement/sendtx_aptos.js index ab7fcaf..32387ab 100644 --- a/aptos-tx-latency-measurement/sendtx_aptos.js +++ b/aptos-tx-latency-measurement/sendtx_aptos.js @@ -211,6 +211,7 @@ async function sendTx() { data.endTime = end; data.latency = end - start; data.chainId = process.env.CHAIN_ID; + await client.waitForTransactionWithResult(txnHash) var APTOStoUSD;