mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
whisper: fix merge issue in #15870
Occured while using the github online merge tool. Lesson learned.
This commit is contained in:
parent
bc87260da2
commit
0a292bfc29
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ func GenerateRandomID() (id string, err error) {
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
if !validateDataIntegrity(buf, keyIdSize) {
|
||||
if !validateDataIntegrity(buf, keyIDSize) {
|
||||
return "", fmt.Errorf("error in generateRandomID: crypto/rand failed to generate random data")
|
||||
}
|
||||
id = common.Bytes2Hex(buf)
|
||||
|
|
|
|||
Loading…
Reference in a new issue