Closed zaibon closed 4 years ago
@zaibon the code associated with this change is in jumpscaleX_libs. Can you try and pull the changes there as well then try again? reference: https://github.com/threefoldtech/jumpscaleX_libs/blob/development/JumpscaleLibs/sal/reservation_chatflow/reservation_chatflow.py#L23
@ranatrk old reservations have empty curecny, in such a case please fall back to the original logic of checking the node type of the network
I adjusted getting the currency so be the value of currencies[0]
, if empty will get from the node of the network if its free_to_use
then use FreeTFT, otherwise use the currency 'TFT'
https://github.com/threefoldtech/jumpscaleX_libs/commit/e284167a636b83c3822b51384deae0a23d270175
Verified
I had this network before applying payment on testnet
which this network has no currency attr, so it uses FreeTFT for this network.
My network was crearted quite some time ago, so the currency field does not exists on it yet