Skip to content

Commit 1c1aafb

Browse files
authoredMay 22, 2019
Merge pull request #5 from AlphaWallet/add-enable-to-engine
added enable engine to provider
2 parents f25206c + 597633e commit 1c1aafb

File tree

4 files changed

+905
-280
lines changed

4 files changed

+905
-280
lines changed
 

‎dist/AlphaWallet-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/AlphaWallet.js

+878-269
Large diffs are not rendered by default.

‎package-lock.json

+25-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const AlphaWallet = {
2828
engine.addProvider(hookedSubProvider = new HookedWalletSubprovider(options))
2929
engine.addProvider(new Web3Subprovider(new Web3.providers.HttpProvider(rpcUrl)))
3030
engine.on('error', err => console.error(err.stack))
31+
engine.enable = options.enable
3132
engine.isAlphaWallet = true
3233
engine.start()
3334

0 commit comments

Comments
 (0)
Please sign in to comment.