xmrwallet.ops.daemon: initialize coin daemon proto properly
This commit is contained in:
parent
919b1e504a
commit
33ff0a85a7
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class OpDaemon(OpBase):
|
|||
md = None
|
||||
else:
|
||||
from ...daemon import CoinDaemon
|
||||
md = CoinDaemon(self.cfg, network_id='xmr')
|
||||
md = CoinDaemon(self.cfg, proto=self.cfg._proto)
|
||||
host, port = (
|
||||
self.cfg.daemon.split(':') if self.cfg.daemon else
|
||||
('localhost', md.rpc_port))
|
||||
|
|
|
|||
Loading…
Reference in a new issue