aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/bindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/bindings.go')
-rw-r--r--ethereal/bindings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/bindings.go b/ethereal/bindings.go
index e129ea6af..141c4a469 100644
--- a/ethereal/bindings.go
+++ b/ethereal/bindings.go
@@ -78,7 +78,7 @@ func (gui *Gui) GetLogLevel() ethlog.LogLevel {
}
func (self *Gui) AddPlugin(pluginPath string) {
- self.plugins[pluginPath] = plugin{Name: "SomeName", Path: pluginPath}
+ self.plugins[pluginPath] = plugin{Name: pluginPath, Path: pluginPath}
json, _ := json.MarshalIndent(self.plugins, "", " ")
ethutil.WriteFile(ethutil.Config.ExecPath+"/plugins.json", json)