Skip to content

Commit

Permalink
Update consensus_rpc.go to remove errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLord017 authored Sep 20, 2024
1 parent 9c22eb5 commit 9e38ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/rpc/consensus_rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (

// return types not mention and oarameters as well
type ConsensusRpc interface {
GetBootstrap(block_root []byte) (consensus_core.Bootstrap, error)
GetBootstrap(block_root [32]byte) (consensus_core.Bootstrap, error)
GetUpdates(period uint64, count uint8) ([]consensus_core.Update, error)
GetFinalityUpdate() (consensus_core.FinalityUpdate, error)
GetOptimisticUpdate() (consensus_core.OptimisticUpdate, error)
GetBlock(slot uint64) (consensus_core.BeaconBlock, error)
GetBlock(slot uint64) (*consensus_core.BeaconBlock, error)
ChainId() (uint64, error)
}

Expand Down

0 comments on commit 9e38ef1

Please sign in to comment.