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

Commit

Permalink
Correct estimation of timestamp in eth_callBundle (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush authored Oct 12, 2023
1 parent be459ef commit 03ee71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2252,7 +2252,7 @@ func (s *BundleAPI) CallBundle(ctx context.Context, args CallBundleArgs) (map[st
}
blockNumber := big.NewInt(int64(args.BlockNumber))

timestamp := parent.Time + 1
timestamp := parent.Time + 12
if args.Timestamp != nil {
timestamp = *args.Timestamp
}
Expand Down

0 comments on commit 03ee71c

Please sign in to comment.