Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit 79f76f8

Browse files
committed
increase flashbots timeout
1 parent a8eb69b commit 79f76f8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@ Fork of [ethrpc](https://github.com/onrik/ethrpc) with Flashbots RPC calls.
22

33
https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint
44

5-
TODO:
6-
7-
* Simulate block: account for outgoing transactions from coinbase (pool paying miners)

flashbotsrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func (rpc *FlashbotsRPC) CallWithFlashbotsSignature(method string, privKey *ecds
161161
req.Header.Add("Accept", "application/json")
162162
req.Header.Add("X-Flashbots-Signature", signature)
163163
httpClient := &http.Client{
164-
Timeout: time.Second * 5,
164+
Timeout: time.Second * 30,
165165
}
166166

167167
response, err := httpClient.Do(req)

0 commit comments

Comments
 (0)