Remove redshift

This commit is contained in:
Tony Giorgio
2023-12-23 21:20:07 -06:00
committed by Tony Giorgio
parent cb09dd7951
commit 9479b4fc55
11 changed files with 0 additions and 740 deletions

View File

@@ -1,20 +0,0 @@
// Simple storage for fake labels
// For each outpoint string, we can store a boolean whether it's redshifted or not
function setRedshifted(redshifted: boolean, outpoint?: string) {
if (outpoint === undefined) return;
localStorage.setItem(outpoint, redshifted.toString());
}
function getRedshifted(outpoint: string): boolean {
const redshifted = localStorage.getItem(outpoint);
if (redshifted === null) {
return false;
}
return redshifted === "true";
}
const TEST_UTXO =
"47651763fbd74488a478aad80e4205c3e34bbadcfc42b5cd9557ef12a15ab00c:1";
export { setRedshifted, getRedshifted, TEST_UTXO };

View File

@@ -2,7 +2,6 @@ export * from "./conversions";
export * from "./deepSignal";
export * from "./download";
export * from "./eify";
export * from "./fakeLabels";
export * from "./getHostname";
export * from "./gradientHash";
export * from "./mempoolTxUrl";