Skip to content

Commit

Permalink
Mark nodes as clean on flush
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Aug 25, 2020
1 parent ce3d158 commit ea81644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ func (n *node) flush(ctx context.Context, bs cbor.IpldStore, height int) (*inter
}

ln.cid = cid
ln.dirty = false
}
nd.Links = append(nd.Links, ln.cid)
nd.Bmap[i/8] |= 1 << (uint(i) % 8)
Expand Down

0 comments on commit ea81644

Please sign in to comment.