File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ contrib.go.opencensus.io/exporter/ocagent v0.6.0/go.mod h1:zmKjrJcdo0aYcVS7bmEeS
55github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ =
66github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
77github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ =
8- github.com/Gearbox-protocol/sdk-go v0.0.0-20250122115256-18609468d2fb h1:VOscfelZwW1RJd6vCWpGguhTPSYrHwDXQQXryEYcxqQ =
9- github.com/Gearbox-protocol/sdk-go v0.0.0-20250122115256-18609468d2fb /go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU =
108github.com/Gearbox-protocol/sdk-go v0.0.0-20250123064548-2b5926faf8ae h1:rJcrgNitrwMs4Ln7qP1C5w3TUxvyJKGI0s63tyB16CY =
119github.com/Gearbox-protocol/sdk-go v0.0.0-20250123064548-2b5926faf8ae /go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU =
1210github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow =
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ func (repo *BlocksRepo) _fetchBlockTime(blockNum int64) (uint64, error) {
114114func (repo * BlocksRepo ) fetchBlockTime (blockNum int64 ) uint64 {
115115 bTime , err := repo ._fetchBlockTime (blockNum )
116116 msg := ""
117- if err != nil && strings .Contains (err .Error (), "not found" ) {
117+ if err != nil && ( strings .Contains (err .Error (), "not found" ) || strings . Contains ( err . Error (), "required field 'maxPriorityFeePerGas'" ) ) {
118118 time .Sleep (5 * time .Second )
119119 bTime , err = repo ._fetchBlockTime (blockNum )
120120 msg = "tried again"
You can’t perform that action at this time.
0 commit comments