Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-napoleone committed Dec 4, 2018
2 parents c12bfc0 + 4d71886 commit 962624a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tmn/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _compose(self) -> None:
elif self.net == 'testnet':
tag = 'testnet'
else:
tag = 'devnet'
tag = 'latest'
if self.api == 'True': # this is dirty, should be refactored
tomochain_ports = {'30303/udp': 30303, '30303/tcp': 30303,
8545: 8545, 8546: 8546}
Expand All @@ -127,7 +127,9 @@ def _compose(self) -> None:
)
self.services['tomochain'] = Service(
name='{}_tomochain'.format(self.name),
image='tomochain/node:{}'.format(tag),
image='tomochain/node:{}'.format(
'devnet' if tag == 'latest' else tag
),
network=self.networks['tmn'].name,
environment={
'IDENTITY': '{}'.format(self.name),
Expand Down

0 comments on commit 962624a

Please sign in to comment.