Skip to content

Commit 7a5f5c7

Browse files
author
colinlyguo
committed
small tweak
1 parent 9db4e04 commit 7a5f5c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rollup/internal/controller/relayer/l1_relayer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ func (r *Layer1Relayer) ProcessGasPriceOracle() {
175175
} else if err != nil {
176176
return
177177
}
178-
var data []byte
179-
data, err = r.l1GasOracleABI.Pack("setL1BaseFeeAndBlobBaseFee", new(big.Int).SetUint64(baseFee), new(big.Int).SetUint64(blobBaseFee))
178+
data, err := r.l1GasOracleABI.Pack("setL1BaseFeeAndBlobBaseFee", new(big.Int).SetUint64(baseFee), new(big.Int).SetUint64(blobBaseFee))
180179
if err != nil {
181180
log.Error("Failed to pack setL1BaseFeeAndBlobBaseFee", "block.Hash", block.Hash, "block.Height", block.Number, "block.BaseFee", baseFee, "block.BlobBaseFee", blobBaseFee, "err", err)
182181
return

0 commit comments

Comments
 (0)