From 8585a2845616b7a4cc1dace5a6d25349c246c11e Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Fri, 8 Oct 2021 14:06:49 +1100 Subject: [PATCH] Fix example fn doc in protocol tests --- cfd_protocol/tests/cfds.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cfd_protocol/tests/cfds.rs b/cfd_protocol/tests/cfds.rs index ab3a207..0b29267 100644 --- a/cfd_protocol/tests/cfds.rs +++ b/cfd_protocol/tests/cfds.rs @@ -1043,14 +1043,8 @@ impl OliviaData { ) } - /// An example of all the data necessary from `olivia` to test the - /// CFD protocol. - /// - /// Data comes from this event: - /// https://outcome.observer/h00.ooo/x/BitMEX/BXBT/2021-10-05T02:00:00.price?n=20. - /// - /// Note: Due to removal of historic data these events cannot actually be retrieved from the - /// Oracle anymore. + /// Generate an example of all the data from `olivia` needed to test the + /// CFD protocol end-to-end. fn example(id: &str, price: u64, nonce_pks: &[&str], attestations: &[&str]) -> Self { let oracle_pk = schnorrsig::PublicKey::from_str(Self::OLIVIA_PK).unwrap();