mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
console: fix lint
This commit is contained in:
parent
832d1100b9
commit
39ba4f2a53
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ func (c *Console) initExtensions() error {
|
||||||
// Apply aliases.
|
// Apply aliases.
|
||||||
c.jsre.Do(func(vm *goja.Runtime) {
|
c.jsre.Do(func(vm *goja.Runtime) {
|
||||||
web3 := getObject(vm, "web3")
|
web3 := getObject(vm, "web3")
|
||||||
for name, _ := range aliases {
|
for name := range aliases {
|
||||||
if v := web3.Get(name); v != nil {
|
if v := web3.Get(name); v != nil {
|
||||||
vm.Set(name, v)
|
vm.Set(name, v)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue