aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-09 16:25:49 -0700
committerAdam Soltys <[email protected]>2024-09-09 16:25:49 -0700
commit92405d18144a3801d02058bebe4b36e87a3389b2 (patch)
tree923003e8e5b98f76b00872d7ca44cd9018e03c8d
parent24e7a168e4345af8cc3c69cc4e7b3b280561a321 (diff)
downloadcoinos-server-92405d18144a3801d02058bebe4b36e87a3389b2.tar.gz
coinos-server-92405d18144a3801d02058bebe4b36e87a3389b2.zip
rm rpc
-rw-r--r--lib/rpc.js.map1
-rw-r--r--lib/rpc.ts2
-rw-r--r--routes/ecash.ts2
3 files changed, 1 insertions, 4 deletions
diff --git a/lib/rpc.js.map b/lib/rpc.js.map
deleted file mode 100644
index d3e67844..00000000
--- a/lib/rpc.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"rpc.js","sourceRoot":"","sources":["rpc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,4CAAsB;AAEtB,mBAAe,UAAC,EAA0C;QAAxC,IAAI,UAAA,EAAE,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,QAAQ,cAAA,EAAE,QAAQ,cAAA;IACtD,OAAA,IAAI,KAAK,CACP,EAAE,EACF;QACE,GAAG,EACD,UAAC,MAAM,EAAE,IAAI;YACb,OAAA;gBAAC,gBAAS;qBAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;oBAAT,2BAAS;;gBACR,OAAA,CAAC,UAAC,MAAM;oBAAE,gBAAS;yBAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;wBAAT,+BAAS;;oBACjB,IAAI,GAAG,GAAG,iBAAU,IAAI,cAAI,IAAI,qBAAW,MAAM,CAAE,CAAC;oBACpD,OAAO,aAAG;yBACP,IAAI,CAAC,GAAG,EAAE;wBACT,IAAI,EAAE;4BACJ,MAAM,QAAA;4BACN,MAAM,QAAA;yBACP;wBACD,OAAO,EAAE;4BACP,aAAa,EAAE,gBAAS,MAAM,CAAC,IAAI,CACjC,UAAG,QAAQ,cAAI,QAAQ,CAAE,CAC1B,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAE;yBACvB;qBACF,CAAC;yBACD,IAAI,EAAE;yBACN,IAAI,CAAC,UAAC,EAAU;4BAAR,MAAM,YAAA;wBAAO,OAAA,MAAM;oBAAN,CAAM,CAAC,CAAC;gBAClC,CAAC,CAAC,8BAAC,IAAI,CAAC,WAAW,EAAE,GAAK,MAAM;YAhBhC,CAgBiC;QAjBnC,CAiBmC;KACtC,CACF;AAxBD,CAwBC,EAAC"} \ No newline at end of file
diff --git a/lib/rpc.ts b/lib/rpc.ts
deleted file mode 100644
index 2019b8ad..00000000
--- a/lib/rpc.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import rpc from "@coinos/rpc";
-export default rpc;
diff --git a/routes/ecash.ts b/routes/ecash.ts
index 7516c05e..48b03fd3 100644
--- a/routes/ecash.ts
+++ b/routes/ecash.ts
@@ -58,7 +58,7 @@ export default {
received: 0,
});
- await credit({hash, amount, memo, ref:user.id, type});
+ await credit({ hash, amount, memo, ref: user.id, type });
res.send({ ok: true });
} catch (e) {