It is a project for Bytom Chrome extension JS SDK https://bytom.github.io/Bytom-JS-SDK
修订版 | 78bc5c2caac9cb1577e183d28087f5cc538f9acb (tree) |
---|---|
时间 | 2020-08-25 17:33:41 |
作者 | Zhiting Lin <zlin035@uott...> |
Commiter | Zhiting Lin |
update v3.0.0 for product
@@ -14,8 +14,8 @@ function accountsSDK(bytom){ | ||
14 | 14 | * @returns {Promise} List of Accounts |
15 | 15 | */ |
16 | 16 | accountsSDK.prototype.listAccountUseServer = function() { |
17 | - // let net = 'mainnet'; | |
18 | - let net = 'testnet'; | |
17 | + let net = 'mainnet'; | |
18 | + // let net = 'testnet'; | |
19 | 19 | let retPromise = new Promise((resolve, reject) => { |
20 | 20 | getDB().then(db => { |
21 | 21 | let transaction = db.transaction(['accounts-server'], 'readonly'); |