Skip to content

Commit

Permalink
Update snet_gate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DaddyWesker authored Oct 25, 2024
1 parent 1589753 commit 792a945
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/hyperon/exts/snet_io/snet_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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()]
Expand Down

0 comments on commit 792a945

Please sign in to comment.