From 1589753e2f16f11af2a6008baffb618514a30547 Mon Sep 17 00:00:00 2001 From: DaddyWesker Date: Fri, 25 Oct 2024 14:21:21 +0300 Subject: [PATCH] Update snet_gate.py --- python/hyperon/exts/snet_io/snet_gate.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python/hyperon/exts/snet_io/snet_gate.py b/python/hyperon/exts/snet_io/snet_gate.py index 5ab7502ad..4765d2600 100644 --- a/python/hyperon/exts/snet_io/snet_gate.py +++ b/python/hyperon/exts/snet_io/snet_gate.py @@ -100,7 +100,7 @@ def __call__(self, command_a, *args_a): service_client = self.create_service_client(*args, **kwargs) return [service_client.get_operation_atom()] return [E(S('Error'), E(S('snet-sdk'), command_a, *args_a), - ValueAtom(f'unknown command {repr(command_a)}'))] + ValueAtom(f'unknown command {repr(command_a)}'))] class ServiceCall: @@ -139,10 +139,7 @@ def get_service_messages(self): def get_operation_atom(self): return OperationAtom(self.service_details[1], self) - - def generate_callers_text(self): - return self.__pretty_print_atoms__(self.generate_callers()) - + def open_channel_and_deposit(self, amount, expiration): self.service_client.deposit_and_open_channel(amount, expiration) return [E()]