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);