mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
2060f876b1
* Code cleanup in `blockchain` module * revert comment fix * remove test * forkchoice test fix Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
17 lines
440 B
Go
17 lines
440 B
Go
package store
|
|
|
|
import (
|
|
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
// New creates a store object.
|
|
func New(justifiedCheckpt *ethpb.Checkpoint, finalizedCheckpt *ethpb.Checkpoint) *Store {
|
|
return &Store{
|
|
justifiedCheckpt: justifiedCheckpt,
|
|
prevJustifiedCheckpt: justifiedCheckpt,
|
|
bestJustifiedCheckpt: justifiedCheckpt,
|
|
finalizedCheckpt: finalizedCheckpt,
|
|
prevFinalizedCheckpt: finalizedCheckpt,
|
|
}
|
|
}
|