Skip to content

Commit

Permalink
Merge pull request #63 from soramitsu/fix/iroha_config
Browse files Browse the repository at this point in the history
update TransferAssets.kt
  • Loading branch information
timofeevmd authored Mar 20, 2024
2 parents 59f725c + cd905ee commit d0dad0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/jp/co/soramitsu/load/TransferAssets.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d0dad0a

Please sign in to comment.