swarm/api: Remove comments

This commit is contained in:
lash 2019-03-15 08:25:06 +01:00
parent dac69f1e1f
commit c017e8db37

View file

@ -50,7 +50,6 @@ type Config struct {
*network.HiveParams
Swap *swap.LocalProfile
Pss *pss.PssParams
//*network.SyncParams
Contract common.Address
EnsRoot common.Address
EnsAPIs []string
@ -83,7 +82,6 @@ func NewConfig() (c *Config) {
LocalStoreParams: storage.NewDefaultLocalStoreParams(),
FileStoreParams: storage.NewFileStoreParams(),
HiveParams: network.NewHiveParams(),
//SyncParams: network.NewDefaultSyncParams(),
Swap: swap.NewDefaultSwapParams(),
Pss: pss.NewPssParams(),
ListenAddr: DefaultHTTPListenAddr,
@ -118,7 +116,6 @@ func (c *Config) Init(prvKey *ecdsa.PrivateKey) {
pubkey := crypto.FromECDSAPub(&prvKey.PublicKey)
pubkeyhex := common.ToHex(pubkey)
//keyhex := crypto.Keccak256Hash(pubkey).Hex()
keyhex := hexutil.Encode(network.PrivateKeyToBzzKey(prvKey))
c.PublicKey = pubkeyhex