Skip to content

Commit

Permalink
[SP] Properly handle 0 for 'initial_channel_target'
Browse files Browse the repository at this point in the history
[no ci integration]
  • Loading branch information
palango authored and LefterisJP committed Nov 12, 2018
1 parent 11c226c commit c93db79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scenario-player/scenario_player/tasks/token_network.py
Expand Up @@ -20,10 +20,10 @@ def _request_params(self):
)

initial_channel_target = self._config.get('initial_channel_target')
if initial_channel_target:
if initial_channel_target is not None:
params['initial_channel_target'] = initial_channel_target
joinable_funds_target = self._config.get('joinable_funds_target')
if joinable_funds_target:
if joinable_funds_target is not None:
params['joinable_funds_target'] = joinable_funds_target

return params
Expand Down

0 comments on commit c93db79

Please sign in to comment.