fix lint issue

This commit is contained in:
Sina Mahmoodi 2024-01-17 13:19:24 +03:30
parent de6cea02b0
commit a0ec406b6f

View file

@ -315,7 +315,7 @@ func (st *StateTransition) preCheck() error {
// Check the blob version validity
if msg.BlobHashes != nil {
// The to field of a blob tx type is mandatory, and a `BlobTx` transaction internally
// has it as a non-nillable value, so any msg derived from blob transaction has it non-nil.
// has it as a non-nillable value, so any msg derived from blob transaction has it non-nil.
// However, messages created through RPC (eth_call) don't have this restriction.
if msg.To == nil {
return ErrBlobTxCreate