1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-25 10:27:01 +08:00

remove pointless TODO

This commit is contained in:
Jeromy
2015-03-09 18:21:10 -07:00
parent 3119088ae7
commit 218cc0185c

View File

@ -416,7 +416,6 @@ func dagTruncate(nd *mdag.Node, size uint64, ds mdag.DAGService) (*mdag.Node, er
return nil, err
}
// TODO: sanity check size of truncated block
ndata.AddBlockSize(size - cur)
modified = nchild