From 8d02466a862ebf843cf5bfd3026cb7ae9b4600e8 Mon Sep 17 00:00:00 2001 From: AntonAndell Date: Wed, 14 Aug 2024 09:56:17 +0200 Subject: [PATCH] remove unused method --- .../java/network/balanced/score/lib/utils/XCallUtils.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/score-lib/src/main/java/network/balanced/score/lib/utils/XCallUtils.java b/score-lib/src/main/java/network/balanced/score/lib/utils/XCallUtils.java index 7e2cd438a..3e2abe1ec 100644 --- a/score-lib/src/main/java/network/balanced/score/lib/utils/XCallUtils.java +++ b/score-lib/src/main/java/network/balanced/score/lib/utils/XCallUtils.java @@ -53,11 +53,6 @@ public static ProtocolConfig getProtocolsRaw(String nid) { return ProtocolConfig.fromBytes(Context.call(byte[].class, BalancedAddressManager.getXCallManager(), "getProtocolsRaw", nid)); } - public static void sendCall(BigInteger fee, NetworkAddress to, byte[] data, byte[] rollback) { - Map protocols = getProtocols(to.net()); - Context.call(fee, BalancedAddressManager.getXCall(), "sendCallMessage", to.toString(), data, rollback, protocols.get(ProtocolConfig.sourcesKey), protocols.get(ProtocolConfig.destinationsKey)); - } - public static void sendPersistentCall(BigInteger fee, NetworkAddress to, byte[] data) { ProtocolConfig protocols = getProtocolsRaw(to.net()); byte[] msg = createPersistentMessage(data, protocols.sources, protocols.destinations);