From ee04be5cf3a4c030d9c38d7a4eccc0f1f58f40eb Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 21 Aug 2021 15:25:53 +0700 Subject: [PATCH] save --- txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txpool/pool.go b/txpool/pool.go index 87bf961d0..64cbdfeb6 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -93,7 +93,7 @@ const PendingSubPoolLimit = 1024 const BaseFeeSubPoolLimit = 1024 const QueuedSubPoolLimit = 1024 -const MaxSendersInfoCache = 1024 +const MaxSendersInfoCache = 2 * (PendingSubPoolLimit + BaseFeeSubPoolLimit + QueuedSubPoolLimit) type nonce2Tx struct{ *btree.BTree }