Skip to content

Commit

Permalink
signer/core/apitypes: fix wrap-data NewTx option
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda committed Mar 13, 2022
1 parent e9279d9 commit 5fa43da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signer/core/apitypes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5fa43da

Please sign in to comment.