diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-11-21 21:13:08 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-21 21:13:08 +0800 |
commit | b169a309f9f22eff18a66b4e3a97dd0184a946e8 (patch) | |
tree | cac8e1950b7e2cfe9207ded94ead35124f0ee60a /cmd | |
parent | 7f40ae7876988d3e5cf72e2715b71309edeaa822 (diff) | |
download | dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.gz dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.bz2 dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.lz dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.xz dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.tar.zst dexon-b169a309f9f22eff18a66b4e3a97dd0184a946e8.zip |
cmd/puppeth: fix unconvert linters
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/puppeth/module_explorer.go | 2 | ||||
-rw-r--r-- | cmd/puppeth/module_wallet.go | 2 |
2 files changed, 2 insertions, 2 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 { diff --git a/cmd/puppeth/module_wallet.go b/cmd/puppeth/module_wallet.go index 78dc1ef51..5ab8d2de1 100644 --- a/cmd/puppeth/module_wallet.go +++ b/cmd/puppeth/module_wallet.go @@ -110,7 +110,7 @@ func deployWallet(client *sshClient, network string, bootnodes []string, config }) files[filepath.Join(workdir, "docker-compose.yaml")] = composefile.Bytes() - files[filepath.Join(workdir, "genesis.json")] = []byte(config.genesis) + files[filepath.Join(workdir, "genesis.json")] = config.genesis // Upload the deployment files to the remote server (and clean up afterwards) if out, err := client.Upload(files); err != nil { |