fix: change params getWeb3 method

This commit is contained in:
Nik Dement'ev 2020-11-12 20:29:52 +03:00
parent a6596e2d9c
commit 5b2e38fffc
No known key found for this signature in database
GPG Key ID: 769B05D57CF16FE2

View File

@ -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}`)
} }