From 5fa43da2fadbb4b84bfec260ae79abf62aef4c20 Mon Sep 17 00:00:00 2001 From: protolambda Date: Sun, 13 Mar 2022 17:45:32 +0100 Subject: [PATCH] signer/core/apitypes: fix wrap-data NewTx option --- signer/core/apitypes/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signer/core/apitypes/types.go b/signer/core/apitypes/types.go index 329f055f9185..7874de166417 100644 --- a/signer/core/apitypes/types.go +++ b/signer/core/apitypes/types.go @@ -159,7 +159,7 @@ func (args *SendTxArgs) ToTransaction() *types.Transaction { wrapData.Blobs = append(wrapData.Blobs, bl) } data = &types.SignedBlobTx{Message: msg} - return types.NewTxWrapped(data, &wrapData) + return types.NewTx(data, types.WithTxWrapData(&wrapData)) case args.MaxFeePerGas != nil: al := types.AccessList{} if args.AccessList != nil {