mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/enode: fix TestDBExpireV5
This commit is contained in:
parent
18a1ba0956
commit
b00d11102b
1 changed files with 1 additions and 3 deletions
|
|
@ -470,8 +470,6 @@ func TestDBExpireV5(t *testing.T) {
|
|||
defer db.Close()
|
||||
|
||||
ip := net.IP{127, 0, 0, 1}
|
||||
key := make([]byte, 16)
|
||||
db.StoreFindFailsV5(ID{}, ip, key, key)
|
||||
|
||||
db.UpdateFindFailsV5(ID{}, ip, 4)
|
||||
db.expireNodes()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue