Fix tests on 32-bit

This commit is contained in:
Matt Joiner 2019-07-26 10:56:13 +10:00
parent 011df3da4a
commit 711d909272
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ import (
)
func TestBep40Priority(t *testing.T) {
assert.EqualValues(t, 0xec2d7224, bep40PriorityIgnoreError(
assert.EqualValues(t, peerPriority(0xec2d7224), bep40PriorityIgnoreError(
IpPort{net.ParseIP("123.213.32.10"), 0},
IpPort{net.ParseIP("98.76.54.32"), 0},
))
assert.EqualValues(t, 0xec2d7224, bep40PriorityIgnoreError(
assert.EqualValues(t, peerPriority(0xec2d7224), bep40PriorityIgnoreError(
IpPort{net.ParseIP("98.76.54.32"), 0},
IpPort{net.ParseIP("123.213.32.10"), 0},
))