Skip to content

Commit

Permalink
comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Sep 16, 2024
1 parent 0900de2 commit a3d9231
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions consensus/polybft/bridge_event_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,11 @@ func (b *bridgeEventManager) getAggSignatureForBridgeBatchMessage(blockNumber ui
return Signature{}, err
}

var signatures bls.Signatures

bmap := bitmap.Bitmap{}
signers := make(map[types.Address]struct{}, 0)
var (
signatures = make(bls.Signatures, 0, len(votes))
bmap = bitmap.Bitmap{}
signers = make(map[types.Address]struct{}, 0)
)

for _, vote := range votes {
index, exists := validatorAddrToIndex[vote.From]
Expand Down

0 comments on commit a3d9231

Please sign in to comment.