mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
p2p/discv5: regenerate with recent stringer
This commit is contained in:
parent
3f7bf811b1
commit
d7f3b0fbd2
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
// Code generated by "stringer -type nodeEvent"; DO NOT EDIT
|
||||
// Code generated by "stringer -type=nodeEvent"; DO NOT EDIT.
|
||||
|
||||
package discv5
|
||||
|
||||
import "fmt"
|
||||
import "strconv"
|
||||
|
||||
const (
|
||||
_nodeEvent_name_0 = "invalidEventpingPacketpongPacketfindnodePacketneighborsPacketfindnodeHashPackettopicRegisterPackettopicQueryPackettopicNodesPacket"
|
||||
|
|
@ -22,6 +22,6 @@ func (i nodeEvent) String() string {
|
|||
i -= 265
|
||||
return _nodeEvent_name_1[_nodeEvent_index_1[i]:_nodeEvent_index_1[i+1]]
|
||||
default:
|
||||
return fmt.Sprintf("nodeEvent(%d)", i)
|
||||
return "nodeEvent(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue