mirror of
https://github.com/tornadocash/provider.git
synced 2024-11-22 09:46:52 +01:00
fix: change params getWeb3 method
This commit is contained in:
parent
a6596e2d9c
commit
5b2e38fffc
@ -37,7 +37,7 @@ export default (ctx, inject) => {
|
|||||||
|
|
||||||
getWeb3(rpcUrl) {
|
getWeb3(rpcUrl) {
|
||||||
try {
|
try {
|
||||||
if (!url) {
|
if (!rpcUrl) {
|
||||||
throw new Error(`Please set url to params, current url ${rpcUrl}`)
|
throw new Error(`Please set url to params, current url ${rpcUrl}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user