fix: change params getWeb3 method
This commit is contained in:
parent
a6596e2d9c
commit
5b2e38fffc
|
@ -37,7 +37,7 @@ export default (ctx, inject) => {
|
|||
|
||||
getWeb3(rpcUrl) {
|
||||
try {
|
||||
if (!url) {
|
||||
if (!rpcUrl) {
|
||||
throw new Error(`Please set url to params, current url ${rpcUrl}`)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue