aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/module_explorer.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-11-21 21:13:08 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-21 21:13:08 +0800
commitb169a309f9f22eff18a66b4e3a97dd0184a946e8 (patch)
treecac8e1950b7e2cfe9207ded94ead35124f0ee60a /cmd/puppeth/module_explorer.go
parent7f40ae7876988d3e5cf72e2715b71309edeaa822 (diff)
downloaddexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.gz
dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.zst
dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.zip
cmd/puppeth: fix unconvert linters
Diffstat (limited to 'cmd/puppeth/module_explorer.go')
-rw-r--r--cmd/puppeth/module_explorer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go
index 819f356c3..99a9e9df8 100644
--- a/cmd/puppeth/module_explorer.go
+++ b/cmd/puppeth/module_explorer.go
@@ -130,7 +130,7 @@ func deployExplorer(client *sshClient, network string, chainspec []byte, config
})
files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes()
- files[filepath.Join(workdir, "chain.json")] = []byte(chainspec)
+ files[filepath.Join(workdir, "chain.json")] = chainspec
// Upload the deployment files to the remote server (and clean up afterwards)
if out, err := client.Upload(files); err != nil {