Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions beacon-chain/rpc/lookup/stater.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ type StateRootNotFoundError struct {
}

// NewStateRootNotFoundError creates a new error instance.
func NewStateRootNotFoundError(stateRootsSize int) StateNotFoundError {
return StateNotFoundError{
func NewStateRootNotFoundError(stateRootsSize int) StateRootNotFoundError {
return StateRootNotFoundError{
message: fmt.Sprintf("state root not found in the last %d state roots", stateRootsSize),
}
}
Expand Down
3 changes: 3 additions & 0 deletions changelog/Snezhkko_fix-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Fixed

- incorrect constructor return type [#16084](https://github.com/OffchainLabs/prysm/pull/16084)