threefoldtech / js-sdk

extensions to js-ng for tfgrid
Apache License 2.0
14 stars 6 forks source link

stellar client getbalance with timelocked tokens crashes #3388

Closed robvanmieghem closed 1 year ago

robvanmieghem commented 1 year ago

Version

v11.5-b16

log

File "/Users/rob/workspace/github.com/threefoldtech/js-sdk/jumpscale/clients/stellar/stellar.py", line 151, in get_balance
    for account in self._find_escrow_accounts(address):
  File "/Users/rob/workspace/github.com/threefoldtech/js-sdk/jumpscale/clients/stellar/stellar.py", line 195, in _find_escrow_accounts
    EscrowAccount(
  File "/Users/rob/workspace/github.com/threefoldtech/js-sdk/jumpscale/clients/stellar/balance.py", line 46, in __init__
    self._set_unlock_conditions()
  File "/Users/rob/workspace/github.com/threefoldtech/js-sdk/jumpscale/clients/stellar/balance.py", line 58, in _set_unlock_conditions
    self.unlock_time = tx.time_bounds.min_time
AttributeError: 'Transaction' object has no attribute 'time_bounds'
robvanmieghem commented 1 year ago

22ccb12a52f4e8c805f2b05c3fe3a8ed4ca14399