From 1c35c2344d1bc42beda2b8358ccc26551385bdd5 Mon Sep 17 00:00:00 2001 From: boneyard93501 <4523011+boneyard93501@users.noreply.github.com> Date: Tue, 6 Sep 2022 15:17:25 -0500 Subject: [PATCH] remove dead code --- .../aqua/multi_provider_quorum.aqua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/aqua-examples/decentralized-blockchain-gateway/aqua/multi_provider_quorum.aqua b/aqua-examples/decentralized-blockchain-gateway/aqua/multi_provider_quorum.aqua index 8b5ae73..0b84293 100644 --- a/aqua-examples/decentralized-blockchain-gateway/aqua/multi_provider_quorum.aqua +++ b/aqua-examples/decentralized-blockchain-gateway/aqua/multi_provider_quorum.aqua @@ -35,9 +35,9 @@ service Console("run-console"): func get_block_heights(providers: []ProviderInfo, addrs: []FunctionAddress) -> []EVMResult: result: *EVMResult - result2: *string + n <- MyOp.array_length(providers) - n2 <- MyOp2.array_length(addrs) + m <- MyOp2.array_length(addrs) if n > 0: for addr <- addrs par: @@ -45,9 +45,7 @@ func get_block_heights(providers: []ProviderInfo, addrs: []FunctionAddress) -> [ MultiProviderQuery addr.service_id for provider <- providers: result <- MultiProviderQuery.get_block_number(provider) - result2 <<- provider.name - -- join result[n2-1] - join result[n*n2-1] + join result[n*m-1] <- result