fix(args/txpool): duplicate arg of txpool.max-account-slots (#7806)

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
Delweng
2024-04-23 19:18:32 +08:00
committed by GitHub
parent d1e38966a1
commit 3224837523
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ pub struct TxPoolArgs {
pub queued_max_size: usize,
/// Max number of executable transaction slots guaranteed per account
#[arg(long = "txpool.max-account-slots", long = "txpool.max_account_slots", default_value_t = TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER)]
#[arg(long = "txpool.max-account-slots", alias = "txpool.max_account_slots", default_value_t = TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER)]
pub max_account_slots: usize,
/// Price bump (in %) for the transaction pool underpriced check.