Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonAndell committed Aug 29, 2024
1 parent c46d063 commit 8d02466
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String[]> 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);
Expand Down

0 comments on commit 8d02466

Please sign in to comment.