les: check required message types in cost table (#19454)
This commit is contained in:
committed by
Péter Szilágyi
parent
78d90c47f7
commit
85b6823d16
@ -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
|
||||
},
|
||||
|
Reference in New Issue
Block a user