swarm, cmd/swarm: address ineffectual assignments (#18048)
* swarm, cmd/swarm: address ineffectual assignments * swarm/network: remove unused vars from testHandshake * swarm/storage/feed: revert cursor changes
This commit is contained in:
committed by
Viktor Trón
parent
81533deae5
commit
cf3b187bde
@@ -69,7 +69,7 @@ func (s *DBStore) Get(key string, i interface{}) (err error) {
|
||||
|
||||
// Put stores an object that implements Binary for a specific key.
|
||||
func (s *DBStore) Put(key string, i interface{}) (err error) {
|
||||
bytes := []byte{}
|
||||
var bytes []byte
|
||||
|
||||
marshaler, ok := i.(encoding.BinaryMarshaler)
|
||||
if !ok {
|
||||
|
Reference in New Issue
Block a user