Skip to content

Commit

Permalink
fix: update based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Dec 7, 2024
1 parent d7ddf8c commit 7918d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/chain/noncemanagerv2/noncemanagerv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (m *NonceManagerV2) GetNonce(ctx context.Context, address string) (uint64,
defer m.mu.Unlock()

if _, ok := m.noncePool[address]; !ok {
m.noncePool[address] = make(chan uint64, 30)
m.noncePool[address] = make(chan uint64, poolSize)
}

if len(m.noncePool[address]) < minimumNoncePoolSize {
Expand Down

0 comments on commit 7918d95

Please sign in to comment.