mirror of https://github.com/vacp2p/wakurtosis.git
Cleaned imports
This commit is contained in:
parent
557e149a2e
commit
18f7f585ab
|
@ -3,7 +3,7 @@ import json
|
|||
import sys
|
||||
|
||||
# Project Imports
|
||||
from . import wls_logger
|
||||
from src.utils import wls_logger
|
||||
|
||||
|
||||
def load_config_file(config_file):
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
import random
|
||||
|
||||
# Project Imports
|
||||
from . import wls_logger
|
||||
from . import rtnorm
|
||||
import wls_logger
|
||||
import rtnorm
|
||||
|
||||
|
||||
def _make_payload(bytes_size):
|
||||
|
|
|
@ -2,7 +2,7 @@ import json
|
|||
import unittest
|
||||
import os
|
||||
|
||||
from .. import files
|
||||
from src.utils import files
|
||||
|
||||
|
||||
class TestFiles(unittest.TestCase):
|
||||
|
|
|
@ -6,7 +6,7 @@ import sys
|
|||
import random
|
||||
|
||||
# Project Imports
|
||||
from . import wls_logger
|
||||
from src.utils import wls_logger
|
||||
|
||||
|
||||
def _poisson_interval(rate):
|
||||
|
@ -37,7 +37,8 @@ def _create_waku_rpc_data(topic, waku_msg, node_address):
|
|||
'jsonrpc': '2.0',
|
||||
'method': 'post_waku_v2_relay_v1_message',
|
||||
'id': 1,
|
||||
'params': [topic, waku_msg]}
|
||||
'params': [topic, waku_msg]
|
||||
}
|
||||
|
||||
wls_logger.G_LOGGER.debug(f"Waku RPC: {data['method']} from {node_address} Topic: {topic}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue