http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/commit/0883b3684253384043a3c9d62302c1f6532ffebb
__init__( cfg = cfg, - host = 'localhost' if cfg.test_suite else (cfg.rpc_host or 'localhost'), + host = 'localhost' if cfg.test_suite or cfg.network == 'regtest' else (cfg.rpc_host or 'localhost'), port = daemon.rpc_port ) self.set_auth() @@ -194,7 +194,10 @@ class BitcoinRPCClient(RPCClient,metaclass=AsyncInit): """ MMGen's credentials override coin daemon's """ - if self.cfg.rpc_user: + if self.cfg.network == 'regtest': + from .regtest import MMGenRegtest...