aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/bindings.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-08 06:50:25 +0800
committerobscuren <geffobscura@gmail.com>2014-09-08 06:50:25 +0800
commit893e9256a0f48b8fd45f29717145a4df23a3a799 (patch)
tree297d4267f08ea9552e778d5d7bda1f3d9e8f89de /ethereal/bindings.go
parent4e6defd6570dd213c53d73035e235431bb5408b5 (diff)
downloaddexon-893e9256a0f48b8fd45f29717145a4df23a3a799.tar.gz
dexon-893e9256a0f48b8fd45f29717145a4df23a3a799.tar.zst
dexon-893e9256a0f48b8fd45f29717145a4df23a3a799.zip
Some minor corrections
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)