Skip to content

Commit d0a15e3

Browse files
committed
Fix max block mumber
1 parent 932f206 commit d0a15e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protect/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (c *Client) CreateMEVBundle(originalHash common.Hash, block uint64, opts *B
150150

151151
inclusion := rpctypes.MevBundleInclusion{
152152
BlockNumber: hexutil.Uint64(block + 1),
153-
MaxBlock: hexutil.Uint64(opts.ValidityBlocks),
153+
MaxBlock: hexutil.Uint64(block + opts.ValidityBlocks),
154154
}
155155

156156
bundle := &rpctypes.MevSendBundleArgs{

0 commit comments

Comments
 (0)