|
@@ -67,7 +67,7 @@ async def main():
|
|
|
proto = cfg._proto
|
|
proto = cfg._proto
|
|
|
|
|
|
|
|
from mmgen.rpc import rpc_init
|
|
from mmgen.rpc import rpc_init
|
|
|
- c = await rpc_init( cfg, proto, ignore_wallet=True )
|
|
|
|
|
|
|
+ c = await rpc_init(cfg, proto, ignore_wallet=True)
|
|
|
|
|
|
|
|
tip = await c.call('getblockcount')
|
|
tip = await c.call('getblockcount')
|
|
|
assert tip > 1, 'block tip must be > 1'
|
|
assert tip > 1, 'block tip must be > 1'
|
|
@@ -181,4 +181,4 @@ async def main():
|
|
|
else:
|
|
else:
|
|
|
print_current_stats()
|
|
print_current_stats()
|
|
|
|
|
|
|
|
-async_run(main())
|
|
|
|
|
|
|
+async_run(cfg, main)
|