mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 12:31:21 +00:00
don't loose nil value
This commit is contained in:
parent
e143f7756f
commit
dc740cdf9d
@ -207,6 +207,11 @@ func (c *Collector) Load(db kv.RwTx, toBucket string, loadFunc LoadFunc, args Tr
|
||||
}
|
||||
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 isDupSort {
|
||||
if err := cursor.(kv.RwCursorDupSort).AppendDup(k, v); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user