threefoldtecharchive / jumpscaleX_libs

Apache License 2.0
0 stars 2 forks source link

stellar client: list transactions fails with a keyerror #219

Closed robvanmieghem closed 4 years ago

robvanmieghem commented 4 years ago

Fri 22 10:58:36 lar/StellarClient.py - 482 - list_transactions : EXCEPTION: KeyError('cursor') --TRACEBACK------------------ /sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Decorators.py in wrapper_action 67 res = func(self, **kwargs) /sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/conversion-service/actors/conversion_ser vice.py in activate_account 70 if self._stellar_address_used_before(address): /sandbox/code/github/threefoldfoundation/tft-stellar/ThreeBotPackages/conversion-service/actors/conversion_ser vice.py in _stellar_address_used_before 33 stellar_client.list_transactions(address=stellar_address) /sandbox/lib/jumpscale/JumpscaleLibs/clients/stellar/StellarClient.py in list_transactions 482 new_cursor = parse.parse_qs(next_link_query)["cursor"][0]

robvanmieghem commented 4 years ago

I have a suspicion we hit the horizon rate limit, the error should be nicer though

robvanmieghem commented 4 years ago

cf4cfc4d4b69b854fe20e40ba04bf91b23a93bad