Skip to content

Commit

Permalink
Resolved StaticCheck Linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
VeerChaurasia committed Sep 20, 2024
1 parent 403016f commit 43cf071
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion consensus/types/beacon.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package types

// Serialization and Deserialization for ExecutionPayload and BeaconBlockBody can be done by importing from prewritten functions in utils wherever needed.



type BeaconBlock struct {
Slot uint64
ProposerIndex uint64
Expand Down Expand Up @@ -217,7 +219,7 @@ type GenericUpdate struct {
FinalityBranch []Bytes32
}

func (g GenericUpdate) From() {
func (g *GenericUpdate) From() {
g.AttestedHeader = Header{}
g.SyncAggregate = SyncAggregate{}
g.SignatureSlot = 0
Expand Down

0 comments on commit 43cf071

Please sign in to comment.