Skip to content

Commit

Permalink
ag-pserver: block until tx send commits
Browse files Browse the repository at this point in the history
fixes Agoric#46
  • Loading branch information
michaelfig committed Aug 1, 2019
1 parent af7be52 commit aac47ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provisioning-server/src/ag_pserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ def got_message(self, client_message, nickname):
'--yes', '--chain-id', config['chainName'],
'--node',
'tcp://' + config['rpcAddrs'][0], # TODO: rotate on failure
'--home', os.environ['HOME'] + '/controller/ag-cosmos-helper-statedir'
'--home', os.environ['HOME'] + '/controller/ag-cosmos-helper-statedir',
'--broadcast-mode', 'block' # Don't return until committed.
])
code = yield d
print('transfer of ' + INITIAL_TOKEN + ' returned ' + str(code))
Expand Down

0 comments on commit aac47ac

Please sign in to comment.