Skip to content

Commit 42f55a6

Browse files
committed
Fix UI build
1 parent 78329d8 commit 42f55a6

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

frontend/src/app/[username]/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export default function Profile() {
6161
quantity: sendTokenAmount,
6262
recipient: sendRecipientAddress,
6363
sender: accountInfo.address,
64+
submit_failing_tx: false
6465
};
6566
try {
6667
const response = await axios.post(

frontend/src/app/mint-authority/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import React, { useEffect, useState } from 'react';
66
import axios from 'axios';
77

88
//Lucid imports
9-
import { CML, makeTxSignBuilder, paymentCredentialOf } from '@lucid-evolution/lucid';
9+
import { paymentCredentialOf } from '@lucid-evolution/lucid';
1010
import type { Credential as LucidCredential } from "@lucid-evolution/core-types";
1111

1212
//Mui imports

frontend/src/app/utils/walletUtils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ export async function signAndSentTx(lucid: LucidEvolution, tx: TxSignBuilder): P
8989
const expectedScriptDataHash : CML.ScriptDataHash | undefined = CML.calc_script_data_hash(witnessSet.redeemers()!, CML.PlutusDataList.new(), lucid.config().costModels!, witnessSet.languages());
9090
// console.log('Calculated Script Data Hash:', expectedScriptDataHash?.to_hex());
9191
const cmlTxBodyClone = CML.TransactionBody.from_cbor_hex(cmlTx!.body().to_cbor_hex());
92-
const txIDinAlert = await cmlTxBodyClone.to_json();
9392
// console.log('Preclone script hash:', cmlTxBodyClone.script_data_hash()?.to_hex());
9493
cmlTxBodyClone.set_script_data_hash(expectedScriptDataHash!);
9594
// console.log('Postclone script hash:', cmlTxBodyClone.script_data_hash()?.to_hex());

generated/openapi/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@
156156
},
157157
"sender": {
158158
"$ref": "#/components/schemas/Address"
159+
},
160+
"submit_failing_tx": {
161+
"type": "boolean"
159162
}
160163
},
161164
"required": [

src/wst-poc.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ library
102102
, blockfrost-client-core
103103
, cardano-api
104104
, cardano-ledger-api
105-
, cardano-ledger-binary
106105
, cardano-ledger-shelley
107106
, containers
108107
, convex-base

0 commit comments

Comments
 (0)