Browse Source

rpc_connect() -> rpc_init()

philemon 7 years ago
parent
commit
c3182f2bcb
3 changed files with 3 additions and 3 deletions
  1. 1 1
      mmnode-blocks-info
  2. 1 1
      mmnode-netrate
  3. 1 1
      mmnode-peerblocks

+ 1 - 1
mmnode-blocks-info

@@ -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

+ 1 - 1
mmnode-netrate

@@ -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():

+ 1 - 1
mmnode-peerblocks

@@ -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)