Use deneb key for deneb state in saveStatesEfficientInternal (#13374)

* Use deneb key for deneb state in saveStatesEfficientInternal

* move reset out of inner loop
This commit is contained in:
Radosław Kapka
2023-12-21 19:14:04 +01:00
committed by GitHub
parent 233f4d99a2
commit cc1028ca3c
3 changed files with 127 additions and 15 deletions

View File

@@ -314,7 +314,7 @@ func (s *Store) saveStatesEfficientInternal(ctx context.Context, tx *bolt.Tx, bl
if err != nil {
return err
}
encodedState := snappy.Encode(nil, append(capellaKey, rawObj...))
encodedState := snappy.Encode(nil, append(denebKey, rawObj...))
if err := bucket.Put(rt[:], encodedState); err != nil {
return err
}