From 792a9450b52df35fdb0d6f0b4e2bc0292a7ece28 Mon Sep 17 00:00:00 2001 From: DaddyWesker Date: Fri, 25 Oct 2024 14:22:00 +0300 Subject: [PATCH] Update snet_gate.py --- python/hyperon/exts/snet_io/snet_gate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/hyperon/exts/snet_io/snet_gate.py b/python/hyperon/exts/snet_io/snet_gate.py index 4765d2600..fc552a237 100644 --- a/python/hyperon/exts/snet_io/snet_gate.py +++ b/python/hyperon/exts/snet_io/snet_gate.py @@ -102,7 +102,6 @@ def __call__(self, command_a, *args_a): return [E(S('Error'), E(S('snet-sdk'), command_a, *args_a), ValueAtom(f'unknown command {repr(command_a)}'))] - class ServiceCall: def __init__(self, service_client): @@ -139,7 +138,7 @@ def get_service_messages(self): def get_operation_atom(self): return OperationAtom(self.service_details[1], self) - + def open_channel_and_deposit(self, amount, expiration): self.service_client.deposit_and_open_channel(amount, expiration) return [E()]