mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 20:07:45 +08:00
remove pointless TODO
This commit is contained in:
parent
3119088ae7
commit
218cc0185c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user