From cd905eed4363c3a99f6780450f665cf91d27e92c Mon Sep 17 00:00:00 2001 From: timofeevmd Date: Wed, 20 Mar 2024 21:33:21 +0400 Subject: [PATCH] update TransferAssets.kt Signed-off-by: timofeevmd --- src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt b/src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt index c63166d..8e428f2 100644 --- a/src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt +++ b/src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt @@ -79,7 +79,7 @@ class TransferAssets : Wrench13() { //sendMetricsToPrometheus(CustomMetrics.transferAssetCount, "transaction") //try { val iroha2Client = buildClient(SimulationConfig.simulation.configuration()) - iroha2Client.sendTransaction { + iroha2Client.fireAndForget { account(anotherDevAccountIdSender) transferAsset(anotherDevAssetIdSender, 1, targetDevAccountIdReceiver) buildSigned(anotherDevKeyPairSender) @@ -109,7 +109,7 @@ class TransferAssets : Wrench13() { }.exec { Session -> runBlocking { val iroha2Client = buildClient(SimulationConfig.simulation.configuration()) - /*iroha2Client.sendTransaction { + /*iroha2Client.fireAndForget { account(anotherDevAccountIdSender) transferAsset(anotherDevAssetIdSender, 1, targetDevAccountIdReceiver) buildSigned(anotherDevKeyPairSender) @@ -164,7 +164,7 @@ class TransferAssets : Wrench13() { }.exec { Session -> runBlocking { val iroha2Client = buildClient(SimulationConfig.simulation.configuration()) - iroha2Client.sendTransaction { + iroha2Client.fireAndForget { account(anotherDevAccountIdSender) transferAsset(anotherDevAssetIdSender, 1, targetDevAccountIdReceiver) buildSigned(anotherDevKeyPairSender)