les: check required message types in cost table (#19454)

This commit is contained in:
Felföldi Zsolt
2019-04-16 13:30:47 +02:00
committed by Péter Szilágyi
parent 78d90c47f7
commit 85b6823d16
2 changed files with 20 additions and 5 deletions

View File

@ -54,7 +54,7 @@ func TestPeerHandshakeSetAnnounceTypeToAnnounceTypeSignedForTrustedPeer(t *testi
l = l.add("txRelay", nil)
l = l.add("flowControl/BL", uint64(0))
l = l.add("flowControl/MRR", uint64(0))
l = l.add("flowControl/MRC", RequestCostList{})
l = l.add("flowControl/MRC", testCostList())
return l
},
@ -99,7 +99,7 @@ func TestPeerHandshakeAnnounceTypeSignedForTrustedPeersPeerNotInTrusted(t *testi
l = l.add("txRelay", nil)
l = l.add("flowControl/BL", uint64(0))
l = l.add("flowControl/MRR", uint64(0))
l = l.add("flowControl/MRC", RequestCostList{})
l = l.add("flowControl/MRC", testCostList())
return l
},