rpc_connect() -> rpc_init()

This commit is contained in:
philemon 2017-10-30 12:44:19 +03:00
commit c3182f2bcb
Signed by untrusted user who does not match committer: mmgen
GPG key ID: 62DBE9E5212F05BE
3 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ cmd_args = opts.init(opts_data)
if len(cmd_args) not in (0,1): opts.usage()
if opt.raw_miner_info: opt.miner_info = True
c = rpc_connection()
c = rpc_init()
cur_blk = c.getblockcount()
arg = cmd_args[0] if cmd_args else None

View file

@ -36,7 +36,7 @@ opts_data = lambda: {
cmd_args = opts.init(opts_data)
ERASE_LINE,CUR_UP = '\033[K','\033[1A'
c = rpc_connection()
c = rpc_init()
def do_loop():
def get_data():

View file

@ -48,7 +48,7 @@ def at_exit():
sys.stderr.write('\n')
atexit.register(at_exit)
bc = rpc_connection()
bc = rpc_init()
msg_r(CUR_HOME+ERASE_ALL)