Skip to content

Commit

Permalink
PLT-9086 Diagnosis.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbush committed Jan 11, 2024
1 parent 0a4cdce commit fcb8292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lessons/06-cip30/src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export async function createContract() {
, tags : {}
}
, uiRuntime.value + "/contracts"
, "application/vendor.iog.marlowe-runtime.contract-tx-json"
, "application/json"
, function(res) {
uiReceiver.disabled = true
uiAmount.disabled = true
Expand Down Expand Up @@ -211,7 +211,7 @@ async function applyInputs(operation, inputs, followup) {
, tags : {}
}
, contractUrl + "/transactions"
, "application/vendor.iog.marlowe-runtime.apply-inputs-tx-json"
, "application/json"
, function(res) {
transactionUrl = uiRuntime.value + "/" + res.links.transaction
const tx = res.resource.transactionId
Expand Down Expand Up @@ -286,7 +286,7 @@ function submitTransaction(cborHex, url, wait) {
xhttp.open("PUT", url)
xhttp.setRequestHeader("Content-Type", "application/json")
const req = {
type : "ShelleyTxWitness BabbageEra"
type : "TxWitness Set BabbageEra"
, description : ""
, cborHex : witness
}
Expand Down

0 comments on commit fcb8292

Please sign in to comment.