add connect with third wallet
This commit is contained in:
parent
ff00255ba4
commit
cdb2eb1099
@ -74,11 +74,10 @@ function verifyPassword(funId, pass) {
|
|||||||
* init third party wallet
|
* init third party wallet
|
||||||
* @param {number | string} chain chain id
|
* @param {number | string} chain chain id
|
||||||
*/
|
*/
|
||||||
function initThirdPartyWallet(funId, chain, env) {
|
function initThirdPartyWallet(funId, chain, env, wallettype, provider) {
|
||||||
chain = parseInt(chain);
|
chain = parseInt(chain);
|
||||||
promiseCb(funId, jc.wallet.initThirdPartyWallet(chain, env), () => {
|
wallettype = parseInt(wallettype || '1');
|
||||||
return jc.wallet.currentAccount();
|
promiseCb(funId, jc.wallet.initThirdPartyWallet(chain, env, wallettype, provider));
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user