mirror of
https://github.com/tornadocash/provider.git
synced 2024-11-22 01:36:51 +01:00
fix: constructor options config
This commit is contained in:
parent
fa62ce3eb5
commit
0ab416ea58
@ -10,7 +10,7 @@ export default (ctx, inject) => {
|
||||
this.version = 'new'
|
||||
|
||||
this.config = options.config
|
||||
this.web3 = new Web3(new Web3.providers.HttpProvider(options.rpcUrl))
|
||||
this.web3 = new Web3(new Web3.providers.HttpProvider(options.config.rpcUrl))
|
||||
}
|
||||
|
||||
async initProvider(provider) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxtjs/provider",
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.8",
|
||||
"description": "Provider integration with Nuxt.js",
|
||||
"repository": "provider-module",
|
||||
"license": "MIT",
|
||||
|
Loading…
Reference in New Issue
Block a user