Update signer/core/apitypes/types.go

This commit is contained in:
jwasinger 2025-07-14 13:14:16 +09:00 committed by GitHub
parent 022105443c
commit 504c4650bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -151,7 +151,7 @@ func (args *SendTxArgs) ToTransaction() (*types.Transaction, error) {
al = *args.AccessList al = *args.AccessList
} }
if to == nil { if to == nil {
return nil, fmt.Errorf("the to address shouldn't be null in blob transaction") return nil, fmt.Errorf("transaction recipient must be set for blob transactions")
} }
data = &types.BlobTx{ data = &types.BlobTx{
To: *to, To: *to,