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
1 changed files with 1 additions and 1 deletions

View File

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