mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Reflect PR feedback
- Remove leftover `int` in `GossipsubParams` - Remove default fields in tests
This commit is contained in:
@ -41,7 +41,7 @@ class GossipsubFactory(factory.Factory):
|
||||
degree_high = GOSSIPSUB_PARAMS.degree_high
|
||||
time_to_live = GOSSIPSUB_PARAMS.time_to_live
|
||||
gossip_window = GOSSIPSUB_PARAMS.gossip_window
|
||||
gossip_history = int(GOSSIPSUB_PARAMS.gossip_history)
|
||||
gossip_history = GOSSIPSUB_PARAMS.gossip_history
|
||||
heartbeat_interval = GOSSIPSUB_PARAMS.heartbeat_interval
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user