mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-30 09:26:53 +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
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: sanity check size of truncated block
|
|
||||||
ndata.AddBlockSize(size - cur)
|
ndata.AddBlockSize(size - cur)
|
||||||
|
|
||||||
modified = nchild
|
modified = nchild
|
||||||
|
|||||||
Reference in New Issue
Block a user