rpc_connect() -> rpc_init()
This commit is contained in:
parent
d57c80cf04
commit
c3182f2bcb
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue