Skip to content

Commit

Permalink
Clean up state pkg's getter and setter (#8533)
Browse files Browse the repository at this point in the history
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 2, 2021
1 parent 46f6bd6 commit 4c49d4a
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 248 deletions.
1 change: 1 addition & 0 deletions beacon-chain/state/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ go_library(
"setters.go",
"state_trie.go",
"types.go",
"validator_getters.go",
],
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state",
visibility = [
Expand Down
4 changes: 2 additions & 2 deletions beacon-chain/state/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
// func (b *BeaconState) Foo() uint64 {
// // Short-circuit conditions.
// if !b.HasInnerState() {
// if !b.hasInnerState() {
// return 0
// }
//
Expand All @@ -27,7 +27,7 @@
//
// func (b *BeaconState) foo() uint64 {
// // Short-circuit conditions.
// if !b.HasInnerState() {
// if !b.hasInnerState() {
// return 0
// }
//
Expand Down

0 comments on commit 4c49d4a

Please sign in to comment.