From 316c9a10fc7b427709516c37cf2ef067e1827008 Mon Sep 17 00:00:00 2001 From: boneyard93501 <4523011+boneyard93501@users.noreply.github.com> Date: Mon, 1 Aug 2022 10:31:31 -0500 Subject: [PATCH] remove test fucntion with_bool --- quickstart/5-oracle-service/aqua/ts_oracle.aqua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/quickstart/5-oracle-service/aqua/ts_oracle.aqua b/quickstart/5-oracle-service/aqua/ts_oracle.aqua index 9966ad6..db4eb05 100644 --- a/quickstart/5-oracle-service/aqua/ts_oracle.aqua +++ b/quickstart/5-oracle-service/aqua/ts_oracle.aqua @@ -54,18 +54,3 @@ func ts_oracle_with_consensus(tolerance: u32, threshold: f64, err_value:u64, nod consensus <- TSOracle.ts_frequency(res, tolerance, threshold, err_value) <- consensus, dead_peers, Op.array_length(nodes) - Op.array_length(dead_peers) - - -func ts_oracle_with_bool(tolerance: u32, threshold: f64, err_value:u64, node:string, oracle_service_id:string)-> []bool, []string: - res: *bool - peers: *string - dead_peers: *string - on node: - k <- Op.string_to_b58(node) - nodes <- Kademlia.neighborhood(k, nil, nil) - for n <- nodes par: - res <- Peer.connect(n, nil) - peers <<- n - - join res[Op.array_length(nodes) - 1] - <- res, peers