Skip to content

Commit

Permalink
fix(lint): fixed list error on votingGroupCount
Browse files Browse the repository at this point in the history
  • Loading branch information
arhamj committed Oct 25, 2024
1 parent a14ffae commit 2208b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ export const verifyReceiptData = async (
else {
const { signs } = appliedReceipt
// Refer to https://github.com/shardeum/shardus-core/blob/7d8877b7e1a5b18140f898a64b932182d8a35298/src/p2p/GlobalAccounts.ts#L397
let votingGroupCount = cycleShardData.shardGlobals.nodesPerConsenusGroup
const votingGroupCount = cycleShardData.shardGlobals.nodesPerConsenusGroup
if (votingGroupCount > cycleShardData.nodes.length) {
if (nestedCountersInstance)
nestedCountersInstance.countEvent('receipt', 'votingGroupCount_greater_than_nodes_length')
Expand Down

0 comments on commit 2208b6e

Please sign in to comment.