提交 e3f8f8cc 作者: Brian Tiger Chow 提交者: Juan Batiz-Benet

rm low SnR debug statement

"Get" is still fairly useful. Leaving it there.

License: MIT
Signed-off-by: 's avatarBrian Tiger Chow <brian@perfmode.com>
上级 b19a931d
...@@ -41,7 +41,6 @@ func New(bs blockstore.Blockstore, rem exchange.Interface) (*BlockService, error ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论