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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user