New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused code #6065
Remove unused code #6065
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clean up godocs for methods that were deleted
shared/bytesutil/bytes.go
Outdated
@@ -79,14 +79,6 @@ func FromBytes8(x []byte) uint64 { | |||
// LowerThan returns true if byte slice x is lower than byte slice y. (little-endian format) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to delete the comments too?
shared/bytesutil/bytes.go
Outdated
@@ -186,17 +178,6 @@ func FromBytes48Array(x [][48]byte) [][]byte { | |||
} | |||
|
|||
// Xor xors the bytes in x and y and returns the result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete comments too?
shared/hashutil/hash.go
Outdated
@@ -104,12 +104,6 @@ func HashKeccak256(data []byte) [32]byte { | |||
|
|||
// RepeatHash applies the sha256 hash function repeatedly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments?
shared/testutil/log.go
Outdated
@@ -45,25 +44,3 @@ func assertLogs(t *testing.T, hook *test.Hook, want string, flag bool) { | |||
// WaitForLog waits for the desired string to appear the logs within a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments
oops sorry, just realized using goland's delete button did not delete the comments |
Sunday funday code cleaning continue 馃Ч
This PR removes the unused code via Goland inspection馃Ч