[golemfactory/golem] Return locks in fundslocker (#2743)

mfranciszkiewicz commented on this pull request.

> if gnt is not None:
– return str(gnt), str(av_gnt), str(eth), str(
– last_gnt_update), str(last_eth_update)
– return None, None, None, None, None
+ return str(gnt), str(av_gnt), str(eth), str(gnt_lock),
+ str(eth_lock), str(last_gnt_update), str(last_eth_update)
+ return None, None, None, None, None, None, None

Uhm, since we now have a 7-element tuple, maybe it’s a good idea to format the return value as (e.g). a `dict`? And get rid of all `”None”` strings, simply return `None`s.

This post was last modified on May 16, 2018, 6:23 pm