diff --git a/frontend/src/TxnLog.js b/frontend/src/TxnLog.js
index c8d5879..4ebbce1 100644
--- a/frontend/src/TxnLog.js
+++ b/frontend/src/TxnLog.js
@@ -97,14 +97,6 @@ const TxnLog = ({ profile, refreshProfile }) => {
setCredits(-record.credits);
}
- if (record.type === 'unmint') {
- const response = await fetch(`/api/v1/asset/${record.xid}`);
- const metadata = await response.json();
-
- setMessage(
Unminted {assetLink(metadata)}.
);
- setCredits(record.credits);
- }
-
if (record.type === 'upload') {
const response = await fetch(`/api/v1/asset/${record.xid}`);
const metadata = await response.json();
diff --git a/xidb.js b/xidb.js
index 158dd45..b591c54 100644
--- a/xidb.js
+++ b/xidb.js
@@ -335,36 +335,6 @@ const repairAsset = (xid) => {
}
}
- // Revise history to remove everything before unmints
- // const history = getHistory(xid); // history is in reverse order!
-
- // if (history) {
- // let lastUnmintIndex = -1;
-
- // for (let i = 0; i < history.length; i++) {
- // if (history[i].type === 'unmint') {
- // lastUnmintIndex = i;
- // break;
- // }
- // }
-
- // if (lastUnmintIndex !== -1) {
- // const jsonlPath = path.join(config.assets, xid, 'history.jsonl');
- // fs.rmSync(jsonlPath);
-
- // for (let i = lastUnmintIndex - 1; i >= 0; i--) {
- // const recordString = JSON.stringify(history[i]);
- // fs.appendFileSync(jsonlPath, recordString + '\n');
- // }
-
- // return {
- // xid: xid,
- // fixed: true,
- // message: `removed unmints from history`,
- // }
- // }
- // }
-
if (assetData.nft) {
let doSave = false;