+ {/* 气泡元素 */}
+ {doorClosing && (
+
-

+
+

+

-
- {/* 气泡元素 */}
- {doorClosing && (
-
- Found a new nonce {nonce}
-
- )}
diff --git a/frontend/src/styles/animate.css b/frontend/src/styles/animate.css
index 854ac07..af90119 100644
--- a/frontend/src/styles/animate.css
+++ b/frontend/src/styles/animate.css
@@ -107,5 +107,18 @@
}
.animate-bubble-up {
- animation: bubble-up 3s ease-out forwards;
+ animation: bubble-up 3s ease-in forwards;
+}
+
+@keyframes jump {
+ 0% {
+ transform: translateY(0%) translateX(0);
+ }
+ 100% {
+ transform: translateY(-50%) translateX(0);
+ }
+}
+
+.animate-jump {
+ animation: jump 2s ease-out forwards;
}
diff --git a/src/core/subscriber.ts b/src/core/subscriber.ts
index 55b355c..5cc810e 100644
--- a/src/core/subscriber.ts
+++ b/src/core/subscriber.ts
@@ -8,7 +8,6 @@ import type { DB } from "../db";
import { logger } from "../util/logger";
import type {
JsonRpcPoolTransactionEntry,
- Network,
PoolTransactionReject,
} from "./type";
@@ -119,7 +118,12 @@ export class Subscriber {
}
async run() {
- await this.db.cleanOrphanedTransaction(this.httpRpcClient);
+ try {
+ await this.db.cleanOrphanedTransaction(this.httpRpcClient);
+ } catch (error) {
+ logger.debug("cleanOrphanedTransaction error:", error);
+ logger.debug("skip cleaning...");
+ }
this.ws = new WebSocket(this.ckbRpcUrl);
const topics = this.createTopicSubscriber();