mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
add a comment
This commit is contained in:
@@ -120,6 +120,8 @@ func (c *L2MessageFetcher) updateL2WithdrawMessageProofs(ctx context.Context, l2
|
||||
}
|
||||
|
||||
for i, messageHash := range messageHashes {
|
||||
// AppendMessages is called for each message individually to obtain the correct proofs
|
||||
// for the state of the trie after each message is appended.
|
||||
proof := withdrawTrie.AppendMessages([]common.Hash{messageHash})
|
||||
if err != nil {
|
||||
log.Error("error generating proof", "messageHash", messageHash, "error", err)
|
||||
|
||||
Reference in New Issue
Block a user