From 7918d953ee28f56583852b83600d7af5e2a9610b Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 7 Dec 2024 23:05:35 +0900 Subject: [PATCH] fix: update based on feedback --- node/pkg/chain/noncemanagerv2/noncemanagerv2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/pkg/chain/noncemanagerv2/noncemanagerv2.go b/node/pkg/chain/noncemanagerv2/noncemanagerv2.go index ba2636a48..470c6e3ce 100644 --- a/node/pkg/chain/noncemanagerv2/noncemanagerv2.go +++ b/node/pkg/chain/noncemanagerv2/noncemanagerv2.go @@ -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 {