Skip to content

Commit

Permalink
Use nodelistFromStates instead of nodeListFromStates
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlbui committed Sep 18, 2024
1 parent 374c27f commit 73dd3b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/p2p/ServiceQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { getFromArchiver } from './Archivers'
import { Result } from 'neverthrow'
import { getRandomAvailableArchiver } from './Utils'
import { isDebugModeMiddleware } from '../network/debugMiddleware'
import { nodeListFromStates } from './Join'
import { nodelistFromStates } from './Join'
import * as Nodelist from './NodeList'

/** STATE */
Expand Down Expand Up @@ -95,7 +95,7 @@ const addTxGossipRoute: P2P.P2PTypes.GossipHandler<P2P.ServiceQueueTypes.SignedA
payload,
tracker,
Self.id,
nodeListFromStates([
nodelistFromStates([
P2P.P2PTypes.NodeStatus.ACTIVE,
P2P.P2PTypes.NodeStatus.READY,
P2P.P2PTypes.NodeStatus.SYNCING,
Expand Down Expand Up @@ -169,7 +169,7 @@ const removeTxGossipRoute: P2P.P2PTypes.GossipHandler<P2P.ServiceQueueTypes.Sign
payload,
tracker,
Self.id,
nodeListFromStates([
nodelistFromStates([
P2P.P2PTypes.NodeStatus.ACTIVE,
P2P.P2PTypes.NodeStatus.READY,
P2P.P2PTypes.NodeStatus.SYNCING,
Expand Down Expand Up @@ -400,7 +400,7 @@ export function sendRequests(): void {
add,
'',
Self.id,
nodeListFromStates([
nodelistFromStates([
P2P.P2PTypes.NodeStatus.ACTIVE,
P2P.P2PTypes.NodeStatus.READY,
P2P.P2PTypes.NodeStatus.SYNCING,
Expand All @@ -425,7 +425,7 @@ export function sendRequests(): void {
remove,
'',
Self.id,
nodeListFromStates([
nodelistFromStates([
P2P.P2PTypes.NodeStatus.ACTIVE,
P2P.P2PTypes.NodeStatus.READY,
P2P.P2PTypes.NodeStatus.SYNCING,
Expand Down

0 comments on commit 73dd3b8

Please sign in to comment.