Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spit and polish
  • Loading branch information
rozhkovdmitrii committed Apr 10, 2022
commit b3389933c5676260ec2cb59441161dd12e632146
2 changes: 1 addition & 1 deletion proxy/common_neon/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .queue_based_service import QueueBasedService, QueueBasedServiceClient, ServiceInvocation
from .utils import *
# from .utils import *

5 changes: 3 additions & 2 deletions proxy/mempool/mempool_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ class MemPoolClient(QueueBasedServiceClient):
MEM_POOL_SERVICE_HOST = "127.0.0.1"

def __init__(self):
self.info("Construct MemPoolClient")
QueueBasedServiceClient.__init__(self, self.MEM_POOL_SERVICE_HOST, MemPoolService.MEM_POOL_SERVICE_PORT)
port, host = (self.MEM_POOL_SERVICE_PORT, self.MEM_POOL_SERVICE_HOST)
self.info(f"Initialize MemPoolClient connecting to: {port} at: {host}")
QueueBasedServiceClient.__init__(self, host, port)

def on_eth_send_raw_transaction(self, eth_trx_signature) -> Result:
return self.invoke("on_eth_send_raw_transaction", eth_trx_hash=eth_trx_signature)
2 changes: 1 addition & 1 deletion proxy/mempool/mempool_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from ..common_neon.utils import QueueBasedService

from .mem_pool import MemPool
from . import MemPool


@logged_group("neon")
Expand Down