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

.query() 接口不能切换到 testnet #11

Closed
necokeine opened this issue Jul 24, 2018 · 1 comment
Closed

.query() 接口不能切换到 testnet #11

necokeine opened this issue Jul 24, 2018 · 1 comment

Comments

@necokeine
Copy link

Query没有走向testnet

@cssmagic
Copy link
Member

cssmagic commented Jul 25, 2018

由于 query() 请求并不是通过钱包扩展发出的,需要开发者通过 Nasa.env.set() 手动设置当前环境。

这确实有些割裂——有时由钱包扩展决定,有时由 Nasa 自己决定。因此我向星云团队申请增加 ”获取钱包扩展当前环境设置“ 的接口(以便 Nasa 统一逻辑),参见:
nebulasio/WebExtensionWallet#38

@cssmagic cssmagic changed the title Query 不能切换到testnet .query() 接口不能切换到 testnet Jul 25, 2018
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

2 participants