Skip to content

Commit f5e8664

Browse files
committed
internal.ethapi.api: Async improves performance in high-latency environments, not low-latency
1 parent f9c5b9c commit f5e8664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ethapi/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func (s *PrivateAccountAPI) SendTransaction(ctx context.Context, args SendTxArgs
298298
return submitTransaction(ctx, s.b, tx, signature, isPrivate)
299299
}
300300

301-
// Please note: This is a temporary integration to improve performance in low-latency
301+
// Please note: This is a temporary integration to improve performance in high-latency
302302
// environments when sending many private transactions. It will be removed at a later
303303
// date when account management is handled outside Ethereum.
304304

@@ -397,7 +397,7 @@ var async = newAsync(100)
397397
// called with a POST request containing either {"error": "error message"} or
398398
// {"txHash": "0x..."}.
399399
//
400-
// Please note: This is a temporary integration to improve performance in low-latency
400+
// Please note: This is a temporary integration to improve performance in high-latency
401401
// environments when sending many private transactions. It will be removed at a later
402402
// date when account management is handled outside Ethereum.
403403
func (s *PublicTransactionPoolAPI) SendTransactionAsync(ctx context.Context, args AsyncSendTxArgs) {

0 commit comments

Comments
 (0)