mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 04:30:04 +00:00
16 lines
409 B
Go
16 lines
409 B
Go
|
package store
|
||
|
|
||
|
import (
|
||
|
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
||
|
)
|
||
|
|
||
|
func New(justifiedCheckpt *ethpb.Checkpoint, finalizedCheckpt *ethpb.Checkpoint) *Store {
|
||
|
return &Store{
|
||
|
justifiedCheckpt: justifiedCheckpt,
|
||
|
prevJustifiedCheckpt: justifiedCheckpt,
|
||
|
bestJustifiedCheckpt: justifiedCheckpt,
|
||
|
finalizedCheckpt: finalizedCheckpt,
|
||
|
prevFinalizedCheckpt: finalizedCheckpt,
|
||
|
}
|
||
|
}
|