mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 13:00:37 +08:00
rm low SnR debug statement
"Get" is still fairly useful. Leaving it there. License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:

committed by
Juan Batiz-Benet

parent
b19a931d2f
commit
e3f8f8cca1
@ -41,7 +41,6 @@ func New(bs blockstore.Blockstore, rem exchange.Interface) (*BlockService, error
|
|||||||
// TODO pass a context into this if the remote.HasBlock is going to remain here.
|
// TODO pass a context into this if the remote.HasBlock is going to remain here.
|
||||||
func (s *BlockService) AddBlock(b *blocks.Block) (u.Key, error) {
|
func (s *BlockService) AddBlock(b *blocks.Block) (u.Key, error) {
|
||||||
k := b.Key()
|
k := b.Key()
|
||||||
log.Debugf("blockservice: storing [%s] in datastore", k)
|
|
||||||
err := s.Blockstore.Put(b)
|
err := s.Blockstore.Put(b)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return k, err
|
return k, err
|
||||||
|
Reference in New Issue
Block a user