From 18dde5db9140fe527884f79d80a298fc2c877490 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 26 Jan 2025 13:04:38 +0800 Subject: [PATCH] fix: fix lint errors --- core/types/op_deposit_tx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types/op_deposit_tx.go b/core/types/op_deposit_tx.go index 032d4ae5b393..ac917c0ad224 100644 --- a/core/types/op_deposit_tx.go +++ b/core/types/op_deposit_tx.go @@ -47,7 +47,7 @@ func (tx *DepositTx) gasPrice() *big.Int { return new(big.Int) } func (tx *DepositTx) value() *big.Int { return tx.Value } func (tx *DepositTx) nonce() uint64 { return 0 } func (tx *DepositTx) to() *common.Address { return tx.To } -func (tx *DepositTx) isSystemTx() bool { return tx.IsSystemTransaction } +func (tx *DepositTx) isSystemTx() bool { return tx.IsSystemTransaction } // nolint:unused func (tx *DepositTx) isAnchor() bool { return false } func (tx *DepositTx) markAsAnchor() error { return ErrInvalidTxType } @@ -55,7 +55,7 @@ func (tx *DepositTx) effectiveGasPrice(dst *big.Int, baseFee *big.Int) *big.Int return dst.Set(new(big.Int)) } -func (tx *DepositTx) effectiveNonce() *uint64 { return nil } +func (tx *DepositTx) effectiveNonce() *uint64 { return nil } // nolint:unused func (tx *DepositTx) rawSignatureValues() (v, r, s *big.Int) { return common.Big0, common.Big0, common.Big0