aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJavier Peletier <jpeletier@users.noreply.github.com>2018-11-26 23:10:22 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-26 23:10:22 +0800
commit2714e8f091117b4f110198008348bfc19233ed60 (patch)
tree153879f73ccf970cfa99692d56a5568c7ed8d7cd /cmd
parent0699287440527dedbc7d6f881fc466057b7822bc (diff)
downloadgo-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar.gz
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar.bz2
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar.lz
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar.xz
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.tar.zst
go-tangerine-2714e8f091117b4f110198008348bfc19233ed60.zip
Remove multihash from Swarm bzz:// for Feeds (#18175)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/swarm/swarm-smoke/feed_upload_and_sync.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
index 1371d6654..0328d656f 100644
--- a/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
+++ b/cmd/swarm/swarm-smoke/feed_upload_and_sync.go
@@ -16,7 +16,6 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/swarm/multihash"
"github.com/ethereum/go-ethereum/swarm/storage/feed"
colorable "github.com/mattn/go-colorable"
"github.com/pborman/uuid"
@@ -36,7 +35,7 @@ func cliFeedUploadAndSync(c *cli.Context) error {
generateEndpoints(scheme, cluster, from, to)
- log.Info("generating and uploading MRUs to " + endpoints[0] + " and syncing")
+ log.Info("generating and uploading feeds to " + endpoints[0] + " and syncing")
// create a random private key to sign updates with and derive the address
pkFile, err := ioutil.TempFile("", "swarm-feed-smoke-test")
@@ -218,8 +217,7 @@ func cliFeedUploadAndSync(c *cli.Context) error {
if err != nil {
return err
}
- multihashHex := hexutil.Encode(multihash.ToMultihash(hashBytes))
-
+ multihashHex := hexutil.Encode(hashBytes)
fileHash, err := digest(f)
if err != nil {
return err