Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Nov 4, 2024
1 parent 426e28e commit ff047a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpc/l1.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ func (l *LogMessageToL2) HashMessage() *common.Hash {
hash.Write(bytes)
}

hash.Write(make([]byte, 12)) // Pad FromAddress to 32 bytes //nolint:mnd
// Pad FromAddress to 32 bytes
hash.Write(make([]byte, 12)) //nolint:mnd
hash.Write(l.FromAddress.Bytes())
writeUint256(l.ToAddress)
writeUint256(l.Nonce)
Expand Down

0 comments on commit ff047a5

Please sign in to comment.