Odds and ends
This commit is contained in:
parent
e94185681f
commit
2326d6a4d7
16 changed files with 139 additions and 164 deletions
|
|
@ -30,7 +30,7 @@ func loadExactHex(dst []byte, src string) error {
|
|||
return err
|
||||
}
|
||||
if len(slice) != len(dst) {
|
||||
return errors.New("Hex string does not fit the slice")
|
||||
return errors.New("hex string does not fit the slice")
|
||||
}
|
||||
copy(dst, slice)
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue