Removed the whole block.

This commit is contained in:
Vicky 2026-03-19 01:13:32 +08:00
parent 746d691d66
commit c9bc896a58

View file

@ -1862,12 +1862,6 @@ func (api *TransactionAPI) SignTransaction(ctx context.Context, args Transaction
if err != nil {
return nil, err
}
// If the transaction-to-sign was a blob transaction, then the signed one
// no longer retains the blobs, only the blob hashes. In this step, we need
// to put back the blob(s).
if args.Blobs != nil {
signed = signed.WithBlobTxSidecar(types.NewBlobTxSidecar(sidecarVersion, args.Blobs, args.Commitments, args.Proofs))
}
data, err := signed.MarshalBinary()
if err != nil {
return nil, err