Revert "don't loose nil value"

This reverts commit dc740cdf9d.
This commit is contained in:
alex.sharov 2023-03-16 10:24:07 +07:00
parent dc740cdf9d
commit 0a69d98d25

View File

@ -207,11 +207,6 @@ func (c *Collector) Load(db kv.RwTx, toBucket string, loadFunc LoadFunc, args Tr
} }
return nil return nil
} }
if bucket == "PlainState" {
if len(v) == 0 {
fmt.Printf("etl load: empty val: %x, %x, %d, %t\n", k, v, c.bufType, v == nil)
}
}
if canUseAppend { if canUseAppend {
if isDupSort { if isDupSort {
if err := cursor.(kv.RwCursorDupSort).AppendDup(k, v); err != nil { if err := cursor.(kv.RwCursorDupSort).AppendDup(k, v); err != nil {