From 426e28e82175edb8e9c244cc244588e50008a73d Mon Sep 17 00:00:00 2001 From: rian Date: Mon, 4 Nov 2024 15:15:20 +0200 Subject: [PATCH] lint --- rpc/l1.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/l1.go b/rpc/l1.go index c3c7f80f3f..aa758e8d3b 100644 --- a/rpc/l1.go +++ b/rpc/l1.go @@ -29,12 +29,12 @@ func (l *LogMessageToL2) HashMessage() *common.Hash { hash := sha3.NewLegacyKeccak256() writeUint256 := func(value *big.Int) { - bytes := make([]byte, 32) + bytes := make([]byte, 32) //nolint:mnd value.FillBytes(bytes) hash.Write(bytes) } - hash.Write(make([]byte, 12)) // Pad FromAddress to 32 bytes + hash.Write(make([]byte, 12)) // Pad FromAddress to 32 bytes //nolint:mnd hash.Write(l.FromAddress.Bytes()) writeUint256(l.ToAddress) writeUint256(l.Nonce)