From 23172922c33c421e085405959209d48c957637ad Mon Sep 17 00:00:00 2001 From: Satya Date: Mon, 25 Nov 2024 14:13:08 +0800 Subject: [PATCH] Remove support for LEGACY_TESTNET. --- .../cardano/yaci/helper/reactive/BlockStreamer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/helper/src/main/java/com/bloxbean/cardano/yaci/helper/reactive/BlockStreamer.java b/helper/src/main/java/com/bloxbean/cardano/yaci/helper/reactive/BlockStreamer.java index 9784b4ff..bca91058 100644 --- a/helper/src/main/java/com/bloxbean/cardano/yaci/helper/reactive/BlockStreamer.java +++ b/helper/src/main/java/com/bloxbean/cardano/yaci/helper/reactive/BlockStreamer.java @@ -51,8 +51,6 @@ public static BlockStreamer fromLatest(NetworkType networkType) { switch (networkType) { case MAINNET: return fromLatest(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, WELL_KNOWN_MAINNET_POINT, networkType.getN2NVersionTable()); - case LEGACY_TESTNET: - return fromLatest(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, WELL_KNOWN_TESTNET_POINT, networkType.getN2NVersionTable()); case PREPROD: return fromLatest(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, WELL_KNOWN_PREPROD_POINT, networkType.getN2NVersionTable()); case PREVIEW: @@ -73,8 +71,6 @@ public static BlockStreamer fromPoint(NetworkType networkType, Point point) { switch (networkType) { case MAINNET: return fromPoint(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable()); - case LEGACY_TESTNET: - return fromPoint(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable()); case PREPROD: return fromPoint(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, point, networkType.getN2NVersionTable()); case PREVIEW: @@ -242,8 +238,6 @@ public static BlockStreamer forRange(NetworkType networkType, Point fromPoint, P switch (networkType) { case MAINNET: return forRange(MAINNET_IOHK_RELAY_ADDR, MAINNET_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable()); - case LEGACY_TESTNET: - return forRange(TESTNET_IOHK_RELAY_ADDR, TESTNET_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable()); case PREPROD: return forRange(PREPROD_IOHK_RELAY_ADDR, PREPROD_IOHK_RELAY_PORT, fromPoint, toPoint, networkType.getN2NVersionTable()); case PREVIEW: