From e3fa487898d01d46338a9be84223b5b5bda9c880 Mon Sep 17 00:00:00 2001 From: aodhgan Date: Wed, 1 Oct 2025 22:44:39 -0700 Subject: [PATCH] use configs in api backend --- eth/api_backend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/api_backend.go b/eth/api_backend.go index cbcf428d13..766a99fc1e 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -488,9 +488,9 @@ func (b *EthAPIBackend) StateAtTransaction(ctx context.Context, block *types.Blo } func (b *EthAPIBackend) RPCTxSyncDefaultTimeout() time.Duration { - return 2 * time.Second + return b.eth.config.TxSyncDefaultTimeout } func (b *EthAPIBackend) RPCTxSyncMaxTimeout() time.Duration { - return 5 * time.Minute + return b.eth.config.TxSyncMaxTimeout }