Skip to content

Commit

Permalink
Merge pull request sovrin-foundation#31 from evernym/remote-name-fix
Browse files Browse the repository at this point in the history
Remote name fix
  • Loading branch information
Andrei Goncharov authored Nov 10, 2016
2 parents 24c3161 + 8c1d1e8 commit 9257c82
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sovrin/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,22 @@ def __init__(self,
ha: Union[HA, Tuple[str, int]]=None,
peerHA: Union[HA, Tuple[str, int]]=None,
basedirpath: str=None,
config=None):
config=None,
sighex: str=None):
config = config or getConfig()
super().__init__(name,
nodeReg,
ha,
basedirpath,
config)
config,
sighex)
self.graphStore = self.getGraphStore()
self.autoDiscloseAttributes = False
self.requestedPendingTxns = False
self.hasAnonCreds = bool(peerHA)
if self.hasAnonCreds:
self.peerHA = peerHA if isinstance(peerHA, HA) else HA(*peerHA)
stackargs = dict(name=name,
stackargs = dict(name=self.stackName,
ha=peerHA,
main=True,
auto=AutoMode.always)
Expand Down

0 comments on commit 9257c82

Please sign in to comment.