mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
add clarifying comment
This commit is contained in:
parent
003d175e21
commit
35c0777f95
1 changed files with 3 additions and 0 deletions
|
|
@ -314,6 +314,9 @@ func (st *StateTransition) preCheck() error {
|
||||||
}
|
}
|
||||||
// Check the blob version validity
|
// Check the blob version validity
|
||||||
if msg.BlobHashes != nil {
|
if msg.BlobHashes != nil {
|
||||||
|
// The to field of a blob tx type is mandatory.
|
||||||
|
// However messages created through RPC (eth_call)
|
||||||
|
// don't have this restriction.
|
||||||
if msg.To == nil {
|
if msg.To == nil {
|
||||||
return ErrBlobTxCreate
|
return ErrBlobTxCreate
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue