From 64c754812e8b6d9fa32605db8e47525922b26f35 Mon Sep 17 00:00:00 2001 From: Nikhil Parasaram Date: Fri, 1 Feb 2019 21:16:59 +0530 Subject: [PATCH] Add some documentation to MythrilConfig --- mythril/mythril/mythril_config.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/mythril/mythril/mythril_config.py b/mythril/mythril/mythril_config.py index a857ee67..61c29007 100644 --- a/mythril/mythril/mythril_config.py +++ b/mythril/mythril/mythril_config.py @@ -123,22 +123,17 @@ class MythrilConfig(object): def set_api_leveldb(self, leveldb_path): """ - - :param leveldb_path: - :return: """ self.eth = EthLevelDB(leveldb_path) def set_api_rpc_infura(self): - """Set the RPC mode to INFURA on mainnet.""" - log.info("Using INFURA for RPC queries") + """Set the RPC mode to INFURA on Mainnet.""" + log.info("Using INFURA Main Net for RPC queries") self.eth = EthJsonRpc("mainnet.infura.io", 443, True) def set_api_rpc(self, rpc=None, rpctls=False): """ - - :param rpc: - :param rpctls: + Sets the RPC mode to either ganache or infura """ if rpc == "ganache": rpcconfig = ("localhost", 8545, False)