mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 04:51:20 +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
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user