p2p/enode: use localItemKey for local sequence number
I added localItemKey for this purpose in #18963, but then forgot to actually use it. This changes the database layout yet again and requires bumping the version number.
This commit is contained in:
@ -71,7 +71,7 @@ func TestDBNodeItemKey(t *testing.T) {
|
||||
if id != keytestID {
|
||||
t.Errorf("splitNodeItemKey returned wrong ID: %v", id)
|
||||
}
|
||||
if !bytes.Equal(ip, wantIP) {
|
||||
if !ip.Equal(wantIP) {
|
||||
t.Errorf("splitNodeItemKey returned wrong IP: %v", ip)
|
||||
}
|
||||
if field != wantField {
|
||||
|
Reference in New Issue
Block a user