Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I run the user.py inside the example, the following error occurs #1

Open
beiji-zz opened this issue Apr 13, 2024 · 1 comment
Open

Comments

@beiji-zz
Copy link

nohup: ignoring input

User error: #401 - {"error":{"code":8,"message":"Authentication verification error: actix-web error: credentials have expired"}}

Huid: None

User error: #401 - {"error":{"code":8,"message":"Authentication verification error: actix-web error: credentials have expired"}}
BTC deposit address: None

User error: #401 - {"error":{"code":8,"message":"Authentication verification error: actix-web error: credentials have expired"}}
ETH deposit address: 0xNone

User error: #401 - {"error":{"code":8,"message":"Authentication verification error: actix-web error: credentials have expired"}}
Traceback (most recent call last):
File "/root/sdk/pyHelixMarkets/user.py", line 30, in
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/root/sdk/pyHelixMarkets/user.py", line 14, in main
print(f'ICP deposit address (principal id): {user.GetDepositAddress("icp")[0]}')
TypeError: 'NoneType' object is not subscriptable

@beiji-zz
Copy link
Author

I solved it, but how is the price of swap calculated?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant