Skip to content

Commit

Permalink
Fix delay proof
Browse files Browse the repository at this point in the history
Get the delay message accumulator from the previous message.
  • Loading branch information
gligneul committed Oct 22, 2024
1 parent c969c72 commit cab5517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbnode/delay_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func GenDelayProof(ctx context.Context, message *arbostypes.MessageWithMetadata,
var beforeDelayedAcc common.Hash
if seqNum > 0 {
var err error
beforeDelayedAcc, err = inbox.GetDelayedAcc(seqNum)
beforeDelayedAcc, err = inbox.GetDelayedAcc(seqNum - 1)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit cab5517

Please sign in to comment.