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.version = 'new'
|
||||||
|
|
||||||
this.config = options.config
|
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) {
|
async initProvider(provider) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nuxtjs/provider",
|
"name": "@nuxtjs/provider",
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"description": "Provider integration with Nuxt.js",
|
"description": "Provider integration with Nuxt.js",
|
||||||
"repository": "provider-module",
|
"repository": "provider-module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
Reference in New Issue
Block a user