good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 92c56eb8 authored by Pascal Dierich's avatar Pascal Dierich Committed by GitHub
Browse files

common: fix documentation of Address.SetBytes (#21814)

parent cf856ea1
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ func (a Address) Format(s fmt.State, c rune) {
}
// SetBytes sets the address to the value of b.
// If b is larger than len(a) it will panic.
// If b is larger than len(a), b will be cropped from the left.
func (a *Address) SetBytes(b []byte) {
if len(b) > len(a) {
b = b[len(b)-AddressLength:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment